public static class AbstractByte2CharMap.BasicEntry extends Object implements Byte2CharMap.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,
char value) |
BasicEntry(Byte key,
Character value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
byte |
getByteKey()
Returns the key corresponding to this entry.
|
char |
getCharValue()
Returns the value corresponding to this entry.
|
int |
hashCode() |
char |
setValue(char 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,
char value)
public byte getByteKey()
Byte2CharMap.EntrygetByteKey in interface Byte2CharMap.EntryMap.Entry.getKey()public char getCharValue()
Byte2CharMap.EntrygetCharValue in interface Byte2CharMap.EntryMap.Entry.getValue()public char setValue(char value)
Byte2CharMap.EntrysetValue in interface Byte2CharMap.EntryMap.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()