Package | Description |
---|---|
com.koloboke.collect.map |
Contains interfaces of
Map specializations, their factories and cursors. |
Modifier and Type | Method and Description |
---|---|
V |
CharObjMap.compute(char key,
CharObjFunction<? super V,? extends V> remappingFunction)
Attempts to compute a mapping for the specified key and its current mapped value
(or
null if there is no current mapping). |
V |
CharObjMap.computeIfPresent(char key,
CharObjFunction<? super V,? extends V> remappingFunction)
If the value for the specified key is present and non-null,
attempts to compute a new mapping given the key and its current mapped value.
|
void |
CharObjMap.replaceAll(CharObjFunction<? super V,? extends V> function)
Replaces each entry's value with the result of invoking the given function on that entry,
in the order entries are returned by an entry set iterator, until all entries have been
processed or the function throws an exception.
|