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