public static class AbstractReference2FloatMap.BasicEntry<K> extends java.lang.Object implements Reference2FloatMap.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,
float value) |
BasicEntry(K key,
java.lang.Float value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
float |
getFloatValue() |
K |
getKey() |
java.lang.Float |
getValue() |
int |
hashCode() |
float |
setValue(float value) |
java.lang.Float |
setValue(java.lang.Float value) |
java.lang.String |
toString() |
public BasicEntry(K key, java.lang.Float value)
public BasicEntry(K key, float value)
public java.lang.Float getValue()
getValue
in interface java.util.Map.Entry<K,java.lang.Float>
public float getFloatValue()
getFloatValue
in interface Reference2FloatMap.Entry<K>
Map.Entry.getValue()
public float setValue(float value)
setValue
in interface Reference2FloatMap.Entry<K>
Map.Entry.setValue(Object)
public java.lang.Float setValue(java.lang.Float value)
setValue
in interface java.util.Map.Entry<K,java.lang.Float>
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry<K,java.lang.Float>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map.Entry<K,java.lang.Float>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object