public static class AbstractShort2ObjectMap.BasicEntry<V> extends Object implements Short2ObjectMap.Entry<V>
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry() |
BasicEntry(short key,
V value) |
BasicEntry(Short key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
short |
getShortKey()
Returns the key corresponding to this entry.
|
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
String |
toString() |
getKeycomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry()
public BasicEntry(short key,
V value)
public short getShortKey()
Short2ObjectMap.EntrygetShortKey in interface Short2ObjectMap.Entry<V>Map.Entry.getKey()public boolean equals(Object o)
public int hashCode()