gdxIdentityMapOf
fun <Key, Value> gdxIdentityMapOf(initialCapacity: Int = defaultMapSize, loadFactor: Float = defaultLoadFactor): GdxIdentityMap<Key, Value>
Return
a new IdentityMap, which compares keys by references.
Parameters
initialCapacity
initial capacity of the map. Will be resized if necessary.
loadFactor
decides under what load the map is resized.
inline fun <Key, Value> gdxIdentityMapOf(vararg keysToValues: Pair<Key, Value>, initialCapacity: Int = defaultMapSize, loadFactor: Float = defaultLoadFactor): GdxIdentityMap<Key, Value>
Return
a new IdentityMap, which compares keys by references.
Parameters
keysToValues
will be added to the map.
initialCapacity
initial capacity of the map. Will be resized if necessary.
loadFactor
decides under what load the map is resized.