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