public static interface Short2ObjectMap.Entry<V>
extends java.util.Map.Entry<java.lang.Short,V>
Map.Entry
; provides some additional methods
that use polymorphism to avoid (un)boxing.Map.Entry
Modifier and Type | Method and Description |
---|---|
default java.lang.Short |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
getShortKey()
Returns the key corresponding to this entry.
|
short getShortKey()
Map.Entry.getKey()
@Deprecated default java.lang.Short getKey()
getKey
in interface java.util.Map.Entry<java.lang.Short,V>