Package org.apache.uima.internal.util
Class Int2ObjListMap<T>
- java.lang.Object
-
- org.apache.uima.internal.util.Int2ObjListMap<T>
-
public class Int2ObjListMap<T> extends java.lang.Object
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
Constructors Constructor Description Int2ObjListMap()
Int2ObjListMap(int initialSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
T
get(int key)
T
put(int key, T value)
-