edu.stanford.nlp.util
Class ArrayMap
java.lang.Object
|
+--java.util.AbstractMap
|
+--edu.stanford.nlp.util.ArrayMap
- All Implemented Interfaces:
- Map
- public final class ArrayMap
- extends AbstractMap
ArrayMap: A map that is backed by an Array
hashCodeCache
protected int hashCodeCache
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
- Specified by:
entrySet
in class AbstractMap
size
public int size()
- Specified by:
size
in interface Map
- Overrides:
size
in class AbstractMap
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
- Overrides:
isEmpty
in class AbstractMap
put
public Object put(Object key,
Object val)
- Specified by:
put
in interface Map
- Overrides:
put
in class AbstractMap
get
public Object get(Object key)
- Specified by:
get
in interface Map
- Overrides:
get
in class AbstractMap
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
- Overrides:
remove
in class AbstractMap
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map
- Overrides:
hashCode
in class AbstractMap
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Map
- Overrides:
equals
in class AbstractMap
Stanford NLP Group