public static class AbstractFloat2IntMap.BasicEntry extends Object implements Float2IntMap.Entry
This class does not implement setValue(), as the modification would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry(float key,
int value) |
BasicEntry(Float key,
Integer value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
float |
getFloatKey()
Returns the key corresponding to this entry.
|
int |
getIntValue()
Returns the value corresponding to this entry.
|
Float |
getKey()
Deprecated.
Please use the corresponding type-specific method
instead.
|
Integer |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
hashCode() |
int |
setValue(int value)
Replaces the value corresponding to this entry with the specified
value (optional operation).
|
Integer |
setValue(Integer value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue@Deprecated public Float getKey()
public float getFloatKey()
Float2IntMap.EntrygetFloatKey in interface Float2IntMap.EntryMap.Entry.getKey()@Deprecated public Integer getValue()
public int getIntValue()
Float2IntMap.EntrygetIntValue in interface Float2IntMap.EntryMap.Entry.getValue()public int setValue(int value)
Float2IntMap.EntrysetValue in interface Float2IntMap.EntryMap.Entry.setValue(Object)@Deprecated public Integer setValue(Integer value)
public boolean equals(Object o)
public int hashCode()