public static class AbstractByte2FloatMap.BasicEntry extends Object implements Byte2FloatMap.Entry
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry() |
BasicEntry(byte key,
float value) |
BasicEntry(Byte key,
Float value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte |
getByteKey()
Returns the key corresponding to this entry.
|
float |
getFloatValue()
Returns the value corresponding to this entry.
|
int |
hashCode() |
float |
setValue(float 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(byte key,
float value)
public byte getByteKey()
Byte2FloatMap.EntrygetByteKey in interface Byte2FloatMap.EntryMap.Entry.getKey()public float getFloatValue()
Byte2FloatMap.EntrygetFloatValue in interface Byte2FloatMap.EntryMap.Entry.getValue()public float setValue(float value)
Byte2FloatMap.EntrysetValue in interface Byte2FloatMap.EntryMap.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()