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 |
---|
AbstractShort2LongMap.BasicEntry(short key,
long value) |
AbstractShort2LongMap.BasicEntry(Short key,
Long value) |
public AbstractShort2LongMap.BasicEntry(short key, long value)
public short getShortKey()
getShortKey
in interface Short2LongMap.Entry
Map.Entry.getKey()
public long getLongValue()
getLongValue
in interface Short2LongMap.Entry
Map.Entry.getValue()
public long setValue(long value)
setValue
in interface Short2LongMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()