Example usage for Java com.badlogic.gdx.utils ObjectMap fields, constructors, methods, implement or subclass
The text is from its open source code.
ObjectMap() Creates a new map with an initial capacity of 32 and a load factor of 0.8. | |
ObjectMap(int initialCapacity) Creates a new map with a load factor of 0.8. | |
ObjectMap(ObjectMap extends K, ? extends V> map) Creates a new map identical to the specified map. |
void | clear() |
boolean | containsKey(K key) |
Entries | entries() Returns an iterator for the entries in the map. |
V | get(K key) |
V | get(K key, V defaultValue) Returns the value for the specified key, or the default value if the key is not in the map. |
Keys | keys() Returns an iterator for the keys in the map. |
V | put(K key, V value) Returns the old value associated with the specified key, or null. |
void | putAll(ObjectMap |
V | remove(K key) |
Values | values() Returns an iterator for the values in the map. |