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