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