public static interface Char2DoubleMap.Entry extends Map.Entry<Character,Double>
Map.Entry; provides some additional methods
that use polymorphism to avoid (un)boxing.Map.Entry| Modifier and Type | Method and Description |
|---|---|
char |
getCharKey()
Returns the key corresponding to this entry.
|
double |
getDoubleValue()
Returns the value corresponding to this entry.
|
default Character |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
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, hashCodechar getCharKey()
Map.Entry.getKey()@Deprecated default Character getKey()
double getDoubleValue()
Map.Entry.getValue()double setValue(double value)
Map.Entry.setValue(Object)@Deprecated default Double getValue()