public static class AbstractDouble2ObjectMap.BasicEntry<V> extends Object implements Double2ObjectMap.Entry<V>
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
BasicEntry(double key,
V value) |
BasicEntry(Double key,
V value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getDoubleKey() |
Double |
getKey() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public BasicEntry(double key, V value)
public double getDoubleKey()
getDoubleKey
in interface Double2ObjectMap.Entry<V>
Map.Entry.getKey()
public boolean equals(Object o)
public int hashCode()