public static class AbstractFloat2BooleanMap.BasicEntry extends Object implements Float2BooleanMap.Entry
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry() |
BasicEntry(float key,
boolean value) |
BasicEntry(Float key,
Boolean value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getBooleanValue()
Returns the value corresponding to this entry.
|
float |
getFloatKey()
Returns the key corresponding to this entry.
|
int |
hashCode() |
boolean |
setValue(boolean value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
String |
toString() |
getKey, getValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry()
public BasicEntry(float key,
boolean value)
public float getFloatKey()
Float2BooleanMap.EntrygetFloatKey in interface Float2BooleanMap.EntryMap.Entry.getKey()public boolean getBooleanValue()
Float2BooleanMap.EntrygetBooleanValue in interface Float2BooleanMap.EntryMap.Entry.getValue()public boolean setValue(boolean value)
Float2BooleanMap.EntrysetValue in interface Float2BooleanMap.EntryMap.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()