public static class AbstractObject2DoubleMap.BasicEntry<K> extends java.lang.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,
java.lang.Double value) |
public AbstractObject2DoubleMap.BasicEntry(K key, java.lang.Double value)
public AbstractObject2DoubleMap.BasicEntry(K key, double value)
public java.lang.Double getValue()
getValue in interface java.util.Map.Entry<K,java.lang.Double>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 java.lang.Double setValue(java.lang.Double value)
setValue in interface java.util.Map.Entry<K,java.lang.Double>public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entry<K,java.lang.Double>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<K,java.lang.Double>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object