public static class AbstractByte2CharMap.BasicEntry extends java.lang.Object implements Byte2CharMap.Entry
This class does not implement setValue(), as the modification
would not be reflected in the base map.
| Constructor and Description |
|---|
BasicEntry(byte key,
char value) |
BasicEntry(java.lang.Byte key,
java.lang.Character value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
byte |
getByteKey() |
char |
getCharValue() |
java.lang.Byte |
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.Byte key,
java.lang.Character value)
public BasicEntry(byte key,
char value)
@Deprecated public java.lang.Byte getKey()
getKey in interface Byte2CharMap.EntrygetKey in interface java.util.Map.Entry<java.lang.Byte,java.lang.Character>public byte getByteKey()
getByteKey in interface Byte2CharMap.EntryMap.Entry.getKey()@Deprecated public java.lang.Character getValue()
getValue in interface Byte2CharMap.EntrygetValue in interface java.util.Map.Entry<java.lang.Byte,java.lang.Character>public char getCharValue()
getCharValue in interface Byte2CharMap.EntryMap.Entry.getValue()public char setValue(char value)
setValue in interface Byte2CharMap.EntryMap.Entry.setValue(Object)@Deprecated public java.lang.Character setValue(java.lang.Character value)
setValue in interface java.util.Map.Entry<java.lang.Byte,java.lang.Character>public boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entry<java.lang.Byte,java.lang.Character>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.Entry<java.lang.Byte,java.lang.Character>hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object