public static class AbstractFloat2ObjectMap.BasicEntry<V> extends java.lang.Object implements Float2ObjectMap.Entry<V>
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
BasicEntry() |
BasicEntry(float key,
V value) |
BasicEntry(java.lang.Float key,
V value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
float |
getFloatKey()
Returns the key corresponding to this entry.
|
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
java.lang.String |
toString() |
getKey
public BasicEntry()
public BasicEntry(java.lang.Float key, V value)
public BasicEntry(float key, V value)
public float getFloatKey()
Float2ObjectMap.Entry
getFloatKey
in interface Float2ObjectMap.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.Object
public int hashCode()
hashCode
in interface java.util.Map.Entry<java.lang.Float,V>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object