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