-
-
Method Summary
float
computeIfAbsent(long key,
it.unimi.dsi.fastutil.longs.Long2FloatFunction mappingFunction)
float
float
float
float
put(long key,
float value)
float
boolean
Remove this key only if it has the given value.
-
Field Details
-
DEFAULT_VALUE
static final float DEFAULT_VALUE
- See Also:
-
-
Method Details
-
get
float get(long key)
- Parameters:
key - key
- Returns:
- 0.0 if the key is not present
-
put
float put(long key,
float value)
-
getDefaultValue
float getDefaultValue()
-
remove
float remove(long key)
-
remove
boolean remove(long key,
float value)
Remove this key only if it has the given value.
- Parameters:
key -
value -
- Returns:
-
computeIfAbsent
float computeIfAbsent(long key,
it.unimi.dsi.fastutil.longs.Long2FloatFunction mappingFunction)
-