public class ObjectIntIdentityMap<T> extends java.lang.Object implements IObjectIntIterable<T>
Modifier and Type | Field and Description |
---|---|
protected java.util.IdentityHashMap<T,java.lang.Integer> |
identityMap |
protected java.util.List<T> |
objectList |
Constructor and Description |
---|
ObjectIntIdentityMap() |
ObjectIntIdentityMap(int expectedSize) |
Modifier and Type | Method and Description |
---|---|
int |
get(T key) |
T |
getByValue(int value) |
java.util.Iterator<T> |
iterator() |
void |
put(T key,
int value) |
int |
size() |