Package it.unimi.dsi.fastutil.chars
Interface Char2ObjectMap.Entry<V>
- All Superinterfaces:
java.util.Map.Entry<java.lang.Character,V>
- All Known Implementing Classes:
AbstractChar2ObjectMap.BasicEntry
- Enclosing interface:
- Char2ObjectMap<V>
public static interface Char2ObjectMap.Entry<V>
extends java.util.Map.Entry<java.lang.Character,V>
A type-specific
Map.Entry; provides some additional methods
that use polymorphism to avoid (un)boxing.- See Also:
Map.Entry
-
Method Summary
Modifier and Type Method Description chargetCharKey()Returns the key corresponding to this entry.default java.lang.CharactergetKey()Deprecated.Please use the corresponding type-specific method instead.Methods inherited from interface java.util.Map.Entry
equals, getValue, hashCode, setValue
-
Method Details
-
getCharKey
char getCharKey()Returns the key corresponding to this entry.- See Also:
Map.Entry.getKey()
-
getKey
@Deprecated default java.lang.Character getKey()Deprecated.Please use the corresponding type-specific method instead.- Specified by:
getKeyin interfacejava.util.Map.Entry<java.lang.Character,V>
-