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