public static class AbstractObject2DoubleMap.BasicEntry<K> extends 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 |
|---|
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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValueprotected K key
protected double value
public BasicEntry()
public BasicEntry(K key, double value)
public double getDoubleValue()
Object2DoubleMap.EntrygetDoubleValue in interface Object2DoubleMap.Entry<K>Map.Entry.getValue()public double setValue(double value)
Object2DoubleMap.EntrysetValue in interface Object2DoubleMap.Entry<K>Map.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()
Copyright © 2020. All rights reserved.