get
Return
a non-null value of stored element or the alternative.
Parameters
index
index of the element in the array.
alternative
returned if index is out of bounds or the element is null.
Return
value associated with this key if present in this map, 0f otherwise. Use IntIntMap.get with second argument (default value) if you want predictable behavior in case of missing keys.
Parameters
key
a value might be assigned to this key and stored in the map.
See also
IntIntMap.get
Return
value associated with this key if present in this map, 0f otherwise. Use IntFloatMap.get with second argument (default value) if you want predictable behavior in case of missing keys.
Parameters
key
a value might be assigned to this key and stored in the map.
See also
IntFloatMap.get