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