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