public static class AbstractChar2CharMap.BasicEntry extends Object implements Char2CharMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
BasicEntry(Character key,
Character value) |
BasicEntry(char key,
char value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
char |
getCharKey() |
char |
getCharValue() |
Character |
getKey() |
Character |
getValue() |
int |
hashCode() |
char |
setValue(char value) |
Character |
setValue(Character value) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public char getCharKey()
getCharKey
in interface Char2CharMap.Entry
Map.Entry.getKey()
public Character getValue()
public char getCharValue()
getCharValue
in interface Char2CharMap.Entry
Map.Entry.getValue()
public char setValue(char value)
setValue
in interface Char2CharMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()