当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
StringMap (Editor Library) - NetBeans API Javadoc (Current Development Version)
org.netbeans.editor
Class StringMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.netbeans.editor.StringMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public class StringMap
- extends HashMap
Support for comparing part of char array
to hash map with strings as keys.
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
StringMap
public StringMap()
StringMap
public StringMap(int initialCapacity)
StringMap
public StringMap(int initialCapacity,
float loadFactor)
StringMap
public StringMap(Map t)
get
public Object get(char[] chars,
int offset,
int len)
containsKey
public boolean containsKey(char[] chars,
int offset,
int len)
remove
public Object remove(char[] chars,
int offset,
int len)
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Map
- Overrides:
equals
in class AbstractMap
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map
- Overrides:
hashCode
in class AbstractMap