public static class AbstractChar2ObjectMap.BasicEntry<V> extends Object implements Char2ObjectMap.Entry<V>
This class does not implement setValue()
, as the modification
would not be reflected in the base map.
Constructor and Description |
---|
BasicEntry(Character key,
V value) |
BasicEntry(char key,
V value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
char |
getCharKey() |
Character |
getKey() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V value) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
protected char key
protected V value
public BasicEntry(char key, V value)
public char getCharKey()
getCharKey
in interface Char2ObjectMap.Entry<V>
Map.Entry.getKey()
public boolean equals(Object o)
public int hashCode()
Copyright © 2011–2024. All rights reserved.