Java com.badlogic.gdx.utils ObjectMap fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.utils ObjectMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.utils ObjectMap.

The text is from its open source code.

Constructor

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 map)
Creates a new map identical to the specified map.

Method

voidclear()
booleancontainsKey(K key)
Entriesentries()
Returns an iterator for the entries in the map.
Vget(K key)
Vget(K key, V defaultValue)
Returns the value for the specified key, or the default value if the key is not in the map.
Keyskeys()
Returns an iterator for the keys in the map.
Vput(K key, V value)
Returns the old value associated with the specified key, or null.
voidputAll(ObjectMap map)
Vremove(K key)
Valuesvalues()
Returns an iterator for the values in the map.