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 |
|---|
AbstractReference2FloatMap.BasicEntry(K key,
float value) |
AbstractReference2FloatMap.BasicEntry(K key,
java.lang.Float value) |
public AbstractReference2FloatMap.BasicEntry(K key, java.lang.Float value)
public AbstractReference2FloatMap.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.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<K,java.lang.Float>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object