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