public static class AbstractLong2ByteMap.BasicEntry extends Object implements Long2ByteMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
BasicEntry(long key,
byte value) |
BasicEntry(Long key,
Byte value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte |
getByteValue() |
Long |
getKey() |
long |
getLongKey() |
Byte |
getValue() |
int |
hashCode() |
byte |
setValue(byte value) |
Byte |
setValue(Byte value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public long getLongKey()
getLongKey
in interface Long2ByteMap.Entry
Map.Entry.getKey()
public byte getByteValue()
getByteValue
in interface Long2ByteMap.Entry
Map.Entry.getValue()
public byte setValue(byte value)
setValue
in interface Long2ByteMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()