Package org.apache.uima.internal.util
Class Int2ObjListMap<T>
java.lang.Object
org.apache.uima.internal.util.Int2ObjListMap<T>
A map<int, T>
based on ArrayList
This impl is for use in a single thread case only
Implements Map - like interface: keys are ints ≥ 0
values can be anything, but null is the value returned by get if not found so values probably
should not be null
remove not currently supported
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Int2ObjListMap
public Int2ObjListMap() -
Int2ObjListMap
public Int2ObjListMap(int initialSize)
-
-
Method Details
-
clear
public void clear() -
get
-
put
-