-
-
Method Summary
int
computeIfAbsent(long key,
it.unimi.dsi.fastutil.longs.Long2IntFunction mappingFunction)
int
int
int
int
int
boolean
-
Field Details
-
DEFAULT_VALUE
static final int DEFAULT_VALUE
- See Also:
-
-
Method Details
-
get
int get(long key)
- Parameters:
key - key to get
- Returns:
- configured LongIntMap.getDefaultValue(), if the key is not present
-
put
int put(long key,
int value)
-
getDefaultValue
int getDefaultValue()
-
remove
int remove(long key)
-
remove
boolean remove(long key,
int value)
-
computeIfAbsent
int computeIfAbsent(long key,
it.unimi.dsi.fastutil.longs.Long2IntFunction mappingFunction)
-