public static class AbstractLong2FloatMap.BasicEntry extends Object implements LongMap.Entry<Float>
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 float |
value |
| Constructor and Description |
|---|
BasicEntry(long key,
float value) |
BasicEntry(Long key,
Float value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
float |
getFloatValue() |
long |
getKey() |
long |
getLongKey() |
Float |
getValue() |
int |
hashCode() |
void |
setValue(Float value) |
String |
toString() |
public long getKey()
getKey in interface LongMap.Entry<Float>public long getLongKey()
public Float getValue()
getValue in interface LongMap.Entry<Float>public float getFloatValue()
public void setValue(Float value)
setValue in interface LongMap.Entry<Float>public boolean equals(Object o)
equals in interface LongMap.Entry<Float>equals in class Objectpublic int hashCode()
hashCode in interface LongMap.Entry<Float>hashCode in class ObjectCopyright © 2015. All rights reserved.