Package | Description |
---|---|
com.koloboke.collect.map |
Contains interfaces of
Map specializations, their factories and cursors. |
com.koloboke.function |
java.util.function polyfill for all specializations. |
Modifier and Type | Method and Description |
---|---|
double |
DoubleDoubleMap.compute(double key,
DoubleDoubleToDoubleFunction remappingFunction)
Attempts to compute a mapping for the specified key and its current mapped value
(or default
value if there is no current mapping).
|
double |
DoubleDoubleMap.computeIfPresent(double key,
DoubleDoubleToDoubleFunction remappingFunction)
If the value for the specified key is present,
attempts to compute a new mapping given the key and its current mapped value.
|
void |
DoubleDoubleMap.replaceAll(DoubleDoubleToDoubleFunction 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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DoubleBinaryOperator
Deprecated.
this interface is present for backward compatibility with the version of this library
for Java 6 or 7, use
DoubleBinaryOperator instead. |