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(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.
|
Byte |
getKey()
Deprecated.
Please use the corresponding type-specific method
instead.
|
Float |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
hashCode() |
float |
setValue(float value)
Replaces the value corresponding to this entry with the specified
value (optional operation).
|
Float |
setValue(Float value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue@Deprecated public Byte getKey()
public byte getByteKey()
Byte2FloatMap.EntrygetByteKey in interface Byte2FloatMap.EntryMap.Entry.getKey()@Deprecated public Float getValue()
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)@Deprecated public Float setValue(Float value)
public boolean equals(Object o)
public int hashCode()