java.lang.Object
de.grogra.util.Int2ObjectMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
dup()
int
findIndex
(int key) final Object
get
(int key) int
getKeyAt
(int index) int[]
getKeys
(int[] array) getValueAt
(int index) Object[]
final Object
final Object
remove
(int key) void
setValueAt
(int index, Object value) int
size()
final Object
synchronizedGet
(int key) final Object
synchronizedPut
(int key, Object value) final Object
synchronizedRemove
(int key)
-
Constructor Details
-
Int2ObjectMap
public Int2ObjectMap(int capacity) -
Int2ObjectMap
public Int2ObjectMap() -
Int2ObjectMap
public Int2ObjectMap(int[] keys, int off, int len)
-
-
Method Details
-
dup
-
getKeys
public int[] getKeys(int[] array) -
getValues
-
synchronizedPut
-
put
-
get
-
synchronizedGet
-
remove
-
synchronizedRemove
-
size
public int size() -
clear
public void clear() -
getKeyAt
public int getKeyAt(int index) -
getValueAt
-
findIndex
public int findIndex(int key) -
setValueAt
-