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() |
short |
getShortKey() |
Byte |
getValue() |
int |
hashCode() |
byte |
setValue(byte value) |
Byte |
setValue(Byte value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic short getShortKey()
getShortKey in interface Short2ByteMap.EntryMap.Entry.getKey()public byte getByteValue()
getByteValue in interface Short2ByteMap.EntryMap.Entry.getValue()public byte setValue(byte value)
setValue in interface Short2ByteMap.EntryMap.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()