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() |
BasicEntry(K key,
double value) |
BasicEntry(K key,
Double value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getDoubleValue()
Returns the value corresponding to this entry.
|
K |
getKey() |
int |
hashCode() |
double |
setValue(double value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
String |
toString() |
getValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry()
public BasicEntry(K key, double value)
public double getDoubleValue()
Reference2DoubleMap.EntrygetDoubleValue in interface Reference2DoubleMap.Entry<K>Map.Entry.getValue()public double setValue(double value)
Reference2DoubleMap.EntrysetValue in interface Reference2DoubleMap.Entry<K>Map.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()