public static class AbstractDouble2ReferenceMap.BasicEntry<V> extends java.lang.Object implements Double2ReferenceMap.Entry<V>
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractDouble2ReferenceMap.BasicEntry(double key,
V value) |
AbstractDouble2ReferenceMap.BasicEntry(java.lang.Double key,
V value) |
public AbstractDouble2ReferenceMap.BasicEntry(java.lang.Double key, V value)
public AbstractDouble2ReferenceMap.BasicEntry(double key, V value)
@Deprecated public java.lang.Double getKey()
getKey
in interface Double2ReferenceMap.Entry<V>
getKey
in interface java.util.Map.Entry<java.lang.Double,V>
public double getDoubleKey()
getDoubleKey
in interface Double2ReferenceMap.Entry<V>
Map.Entry.getKey()
public V getValue()
getValue
in interface java.util.Map.Entry<java.lang.Double,V>
public V setValue(V value)
setValue
in interface java.util.Map.Entry<java.lang.Double,V>
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry<java.lang.Double,V>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map.Entry<java.lang.Double,V>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object