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