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(byte key,
char value) |
BasicEntry(Byte key,
Character value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte |
getByteKey() |
char |
getCharValue() |
Byte |
getKey() |
Character |
getValue() |
int |
hashCode() |
char |
setValue(char value) |
Character |
setValue(Character value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public byte getByteKey()
getByteKey
in interface Byte2CharMap.Entry
Map.Entry.getKey()
public char getCharValue()
getCharValue
in interface Byte2CharMap.Entry
Map.Entry.getValue()
public char setValue(char value)
setValue
in interface Byte2CharMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()