public static class AbstractLong2DoubleMap.BasicEntry extends Object implements LongMap.Entry<Double>
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Modifier and Type | Field and Description |
|---|---|
protected long |
key |
protected double |
value |
| Constructor and Description |
|---|
BasicEntry(long key,
double value) |
BasicEntry(Long key,
Double value) |
public long getKey()
getKey in interface LongMap.Entry<Double>public Double getValue()
getValue in interface LongMap.Entry<Double>public void setValue(Double value)
setValue in interface LongMap.Entry<Double>public boolean equals(Object o)
equals in interface LongMap.Entry<Double>equals in class Objectpublic int hashCode()
hashCode in interface LongMap.Entry<Double>hashCode in class ObjectCopyright © 2015. All rights reserved.