public static class AbstractLong2IntMap.BasicEntry extends Object implements Long2IntMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractLong2IntMap.BasicEntry(long key,
int value) |
AbstractLong2IntMap.BasicEntry(Long key,
Integer value) |
public AbstractLong2IntMap.BasicEntry(long key, int value)
public long getLongKey()
getLongKey
in interface Long2IntMap.Entry
Map.Entry.getKey()
public int getIntValue()
getIntValue
in interface Long2IntMap.Entry
Map.Entry.getValue()
public int setValue(int value)
setValue
in interface Long2IntMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()