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