public static interface Short2LongMap.Entry
extends java.util.Map.Entry<java.lang.Short,java.lang.Long>
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.
|
long |
getLongValue()
Returns the value corresponding to this entry.
|
short |
getShortKey()
Returns the key corresponding to this entry.
|
default java.lang.Long |
getValue()
Deprecated.
Please use the corresponding type-specific method instead.
|
long |
setValue(long value)
Replaces the value corresponding to this entry with the specified value
(optional operation).
|
default java.lang.Long |
setValue(java.lang.Long value)
Deprecated.
Please use the corresponding type-specific method instead.
|
short getShortKey()
Map.Entry.getKey()@Deprecated default java.lang.Short getKey()
getKey in interface java.util.Map.Entry<java.lang.Short,java.lang.Long>long getLongValue()
Map.Entry.getValue()long setValue(long value)
Map.Entry.setValue(Object)@Deprecated default java.lang.Long getValue()
getValue in interface java.util.Map.Entry<java.lang.Short,java.lang.Long>@Deprecated default java.lang.Long setValue(java.lang.Long value)
setValue in interface java.util.Map.Entry<java.lang.Short,java.lang.Long>