public static interface Object2DoubleMap.Entry<K> extends Map.Entry<K,Double>
Map.Entry; provides some additional methods
that use polymorphism to avoid (un)boxing.Map.Entry| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleValue()
Returns the value corresponding to this entry.
|
default Double |
getValue()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
setValue(double value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
default Double |
setValue(Double value)
Deprecated.
Please use the corresponding type-specific method instead.
|
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, getKey, hashCodedouble getDoubleValue()
Map.Entry.getValue()double setValue(double value)
Map.Entry.setValue(Object)@Deprecated default Double getValue()