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

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

Introduction

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

The text is from its open source code.

Constructor

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

Method

voidclear()
Entriesentries()
Returns an iterator for the entries in the map.
intget(K key, int defaultValue)
intgetAndIncrement(K key, int defaultValue, int increment)
Returns the key's current value and increments the stored value.
Keyskeys()
Returns an iterator for the keys in the map.
voidput(K key, int value)
voidputAll(ObjectIntMap map)
intremove(K key, int defaultValue)
Valuesvalues()
Returns an iterator for the values in the map.