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