public static class AbstractChar2LongMap.BasicEntry extends Object implements Char2LongMap.Entry
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
AbstractChar2LongMap.BasicEntry(Character key,
Long value) |
AbstractChar2LongMap.BasicEntry(char key,
long value) |
public AbstractChar2LongMap.BasicEntry(char key, long value)
public char getCharKey()
getCharKey
in interface Char2LongMap.Entry
Map.Entry.getKey()
public long getLongValue()
getLongValue
in interface Char2LongMap.Entry
Map.Entry.getValue()
public long setValue(long value)
setValue
in interface Char2LongMap.Entry
Map.Entry.setValue(Object)
public boolean equals(Object o)
public int hashCode()