public static class AbstractChar2ObjectMap.BasicEntry<V> extends java.lang.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 |
---|
AbstractChar2ObjectMap.BasicEntry(java.lang.Character key,
V value) |
AbstractChar2ObjectMap.BasicEntry(char key,
V value) |
public AbstractChar2ObjectMap.BasicEntry(java.lang.Character key, V value)
public AbstractChar2ObjectMap.BasicEntry(char key, V value)
@Deprecated public java.lang.Character getKey()
getKey
in interface Char2ObjectMap.Entry<V>
getKey
in interface java.util.Map.Entry<java.lang.Character,V>
public char getCharKey()
getCharKey
in interface Char2ObjectMap.Entry<V>
Map.Entry.getKey()
public V getValue()
getValue
in interface java.util.Map.Entry<java.lang.Character,V>
public V setValue(V value)
setValue
in interface java.util.Map.Entry<java.lang.Character,V>
public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry<java.lang.Character,V>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Map.Entry<java.lang.Character,V>
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object