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