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