public static class AbstractShort2ByteMap.BasicEntry extends Object implements Short2ByteMap.Entry
This class does not implement setValue(), as the modification would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry(short key,
byte value) |
BasicEntry(Short key,
Byte value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte |
getByteValue() |
Short |
getKey()
Deprecated.
Please use the corresponding type-specific method
instead.
|
short |
getShortKey() |
Byte |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
hashCode() |
byte |
setValue(byte value) |
Byte |
setValue(Byte value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue@Deprecated public Short getKey()
public short getShortKey()
getShortKey in interface Short2ByteMap.EntryMap.Entry.getKey()@Deprecated public Byte getValue()
public byte getByteValue()
getByteValue in interface Short2ByteMap.EntryMap.Entry.getValue()public byte setValue(byte value)
setValue in interface Short2ByteMap.EntryMap.Entry.setValue(Object)@Deprecated public Byte setValue(Byte value)
public boolean equals(Object o)
public int hashCode()