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() |
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() |
int |
hashCode() |
byte |
setValue(byte value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValueprotected K key
protected byte value
public BasicEntry()
public BasicEntry(K key, byte value)
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)public boolean equals(Object o)
public int hashCode()
Copyright © 2020. All rights reserved.