Example usage for Java com.badlogic.gdx.utils ObjectIntMap fields, constructors, methods, implement or subclass
The text is from its open source code.
ObjectIntMap() Creates a new map with an initial capacity of 32 and a load factor of 0.8. | |
ObjectIntMap(int initialCapacity) Creates a new map with a load factor of 0.8. | |
ObjectIntMap(ObjectIntMap extends K> map) Creates a new map identical to the specified map. |
void | clear() |
Entries | entries() Returns an iterator for the entries in the map. |
int | get(K key, int defaultValue) |
int | getAndIncrement(K key, int defaultValue, int increment) Returns the key's current value and increments the stored value. |
Keys | keys() Returns an iterator for the keys in the map. |
void | put(K key, int value) |
void | putAll(ObjectIntMap |
int | remove(K key, int defaultValue) |
Values | values() Returns an iterator for the values in the map. |