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