edu.stanford.nlp.util
Class ArrayMap

java.lang.Object
  extended byjava.util.AbstractMap
      extended byedu.stanford.nlp.util.ArrayMap
All Implemented Interfaces:
Map

public final class ArrayMap
extends AbstractMap

ArrayMap: A map that is backed by an Array

Author:
Dan Klein

Field Summary
protected  int hashCodeCache
           
 
Method Summary
 Set entrySet()
           
 boolean equals(Object o)
           
 Object get(Object key)
           
 int hashCode()
           
 boolean isEmpty()
           
 Object put(Object key, Object val)
           
 Object remove(Object key)
           
 int size()
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, keySet, putAll, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

hashCodeCache

protected int hashCodeCache
Method Detail

entrySet

public Set entrySet()

size

public int size()

isEmpty

public boolean isEmpty()

put

public Object put(Object key,
                  Object val)

get

public Object get(Object key)

remove

public Object remove(Object key)

hashCode

public int hashCode()

equals

public boolean equals(Object o)


Stanford NLP Group