public static class AbstractFloat2ReferenceMap.BasicEntry<V> extends java.lang.Object implements Float2ReferenceMap.Entry<V>
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
AbstractFloat2ReferenceMap.BasicEntry(float key,
V value) |
AbstractFloat2ReferenceMap.BasicEntry(java.lang.Float key,
V value) |
public AbstractFloat2ReferenceMap.BasicEntry(java.lang.Float key,
V value)
public AbstractFloat2ReferenceMap.BasicEntry(float key,
V value)
public java.lang.Float getKey()
getKey in interface java.util.Map.Entry<java.lang.Float,V>public float getFloatKey()
getFloatKey in interface Float2ReferenceMap.Entry<V>Map.Entry.getKey()public V getValue()
getValue in interface java.util.Map.Entry<java.lang.Float,V>public V setValue(V value)
setValue in interface java.util.Map.Entry<java.lang.Float,V>public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entry<java.lang.Float,V>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<java.lang.Float,V>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object