public static class AbstractChar2CharMap.BasicEntry extends java.lang.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(java.lang.Character key,
java.lang.Character value) |
BasicEntry(char key,
char value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
char |
getCharKey() |
char |
getCharValue() |
java.lang.Character |
getKey()
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.Character |
getValue()
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
char |
setValue(char value) |
java.lang.Character |
setValue(java.lang.Character value)
Deprecated.
Please use the corresponding type-specific method instead.
|
java.lang.String |
toString() |
public BasicEntry(java.lang.Character key,
java.lang.Character value)
public BasicEntry(char key,
char value)
@Deprecated public java.lang.Character getKey()
getKey in interface Char2CharMap.EntrygetKey in interface java.util.Map.Entry<java.lang.Character,java.lang.Character>public char getCharKey()
getCharKey in interface Char2CharMap.EntryMap.Entry.getKey()@Deprecated public java.lang.Character getValue()
getValue in interface Char2CharMap.EntrygetValue in interface java.util.Map.Entry<java.lang.Character,java.lang.Character>public char getCharValue()
getCharValue in interface Char2CharMap.EntryMap.Entry.getValue()public char setValue(char value)
setValue in interface Char2CharMap.EntryMap.Entry.setValue(Object)@Deprecated public java.lang.Character setValue(java.lang.Character value)
setValue in interface java.util.Map.Entry<java.lang.Character,java.lang.Character>public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entry<java.lang.Character,java.lang.Character>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<java.lang.Character,java.lang.Character>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object