V - the type of elements maintained by this Collectionpublic static class AbstractFloat2ObjectMap.BasicEntry<V> extends java.lang.Object implements Float2ObjectMap.Entry<V>
| Constructor and Description |
|---|
BasicEntry()
A basic Empty constructor
|
BasicEntry(float key,
V value)
A Type Specific Constructor
|
BasicEntry(java.lang.Float key,
V value)
A Boxed Constructor for supporting java variants
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
float |
getFloatKey()
Type Specific getKey method that reduces boxing/unboxing
|
V |
getValue() |
int |
hashCode() |
void |
set(float key,
V value)
A Helper method for fast replacing values
|
V |
setValue(V value) |
java.lang.String |
toString() |
getKeypublic BasicEntry()
public BasicEntry(java.lang.Float key,
V value)
key - the key of a entryvalue - the value of a entrypublic BasicEntry(float key,
V value)
key - the key of a entryvalue - the value of a entrypublic void set(float key,
V value)
key - the key that should be replacedvalue - the value that should be replacedpublic float getFloatKey()
Float2ObjectMap.EntrygetFloatKey in interface Float2ObjectMap.Entry<V>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 obj)
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