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