public static interface Short2DoubleMap.Entry extends Map.Entry<Short,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 Short |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
getShortKey()
Returns the key 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, hashCodeshort getShortKey()
Map.Entry.getKey()@Deprecated default Short getKey()
double getDoubleValue()
Map.Entry.getValue()double setValue(double value)
Map.Entry.setValue(Object)@Deprecated default Double getValue()
Copyright © 2020. All rights reserved.