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