public static class AbstractObject2CharMap.BasicEntry<K> extends Object implements Object2CharMap.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()
Returns the value corresponding to this entry.
|
K |
getKey() |
Character |
getValue()
Deprecated.
Please use the corresponding type-specific method
instead.
|
int |
hashCode() |
char |
setValue(char value)
Replaces the value corresponding to this entry with the specified
value (optional operation).
|
Character |
setValue(Character value)
Deprecated.
Please use the corresponding type-specific method
instead.
|
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic BasicEntry(K key, char value)
@Deprecated public Character getValue()
public char getCharValue()
Object2CharMap.EntrygetCharValue in interface Object2CharMap.Entry<K>Map.Entry.getValue()public char setValue(char value)
Object2CharMap.EntrysetValue in interface Object2CharMap.Entry<K>Map.Entry.setValue(Object)@Deprecated public Character setValue(Character value)
public boolean equals(Object o)
public int hashCode()