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