Class ArrayMap<K,V>

java.lang.Object
java.util.AbstractMap<K,V>
pascal.taie.util.collection.ArrayMap<K,V>
All Implemented Interfaces:
Serializable, Map<K,V>

public class ArrayMap<K,V> extends AbstractMap<K,V> implements Serializable
Map implementation based on ArrayList. This class should only be used for small set. Keys cannot be null. Note that remove(Object) will shift the elements after the removed one. TODO: if necessary, optimize remove(Object) and let add(Object) add element to empty hole of the array.
See Also: