de.grogra.util
Class Int2ObjectMap
java.lang.Object
de.grogra.util.Int2ObjectMap
public class Int2ObjectMap
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Int2ObjectMap
public Int2ObjectMap()
Int2ObjectMap
public Int2ObjectMap(int capacity)
Int2ObjectMap
public Int2ObjectMap(int[] keys,
int off,
int len)
clear
public void clear()
dup
public Int2ObjectMap dup()
findIndex
public int findIndex(int key)
get
public final java.lang.Object get(int key)
getKeyAt
public int getKeyAt(int index)
getKeys
public int[] getKeys(int[] array)
getValueAt
public java.lang.Object getValueAt(int index)
getValues
public java.lang.Object[] getValues(java.lang.Object[] array)
put
public final java.lang.Object put(int key,
java.lang.Object value)
remove
public final java.lang.Object remove(int key)
setValueAt
public void setValueAt(int index,
java.lang.Object value)
size
public int size()
synchronizedGet
public final java.lang.Object synchronizedGet(int key)
synchronizedPut
public final java.lang.Object synchronizedPut(int key,
java.lang.Object value)
synchronizedRemove
public final java.lang.Object synchronizedRemove(int key)