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()
Returns the value corresponding to this entry.
|
K |
getKey() |
Byte |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
hashCode() |
byte |
setValue(byte value)
Replaces the value corresponding to this entry with the specified
value (optional operation).
|
Byte |
setValue(Byte value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry(K key, byte value)
@Deprecated public Byte getValue()
public byte getByteValue()
Reference2ByteMap.EntrygetByteValue in interface Reference2ByteMap.Entry<K>Map.Entry.getValue()public byte setValue(byte value)
Reference2ByteMap.EntrysetValue in interface Reference2ByteMap.Entry<K>Map.Entry.setValue(Object)@Deprecated public Byte setValue(Byte value)
public boolean equals(Object o)
public int hashCode()