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