public static interface Char2ByteMap.Entry
extends java.util.Map.Entry<java.lang.Character,java.lang.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.
|
char |
getCharKey()
Returns the key corresponding to this entry.
|
default java.lang.Character |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
default java.lang.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).
|
default java.lang.Byte |
setValue(java.lang.Byte value)
Deprecated.
Please use the corresponding type-specific method instead.
|
char getCharKey()
Map.Entry.getKey()
@Deprecated default java.lang.Character getKey()
getKey
in interface java.util.Map.Entry<java.lang.Character,java.lang.Byte>
byte getByteValue()
Map.Entry.getValue()
byte setValue(byte value)
Map.Entry.setValue(Object)
@Deprecated default java.lang.Byte getValue()
getValue
in interface java.util.Map.Entry<java.lang.Character,java.lang.Byte>
@Deprecated default java.lang.Byte setValue(java.lang.Byte value)
setValue
in interface java.util.Map.Entry<java.lang.Character,java.lang.Byte>