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() |
BasicEntry(K key,
char value) |
BasicEntry(K key,
Character value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
char |
getCharValue()
Returns the value corresponding to this entry.
|
K |
getKey() |
int |
hashCode() |
char |
setValue(char value)
Replaces the value corresponding to this entry with the specified value (optional operation).
|
String |
toString() |
getValue, setValuecomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry()
public BasicEntry(K key, char value)
public char getCharValue()
Reference2CharMap.EntrygetCharValue in interface Reference2CharMap.Entry<K>Map.Entry.getValue()public char setValue(char value)
Reference2CharMap.EntrysetValue in interface Reference2CharMap.Entry<K>Map.Entry.setValue(Object)public boolean equals(Object o)
public int hashCode()