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