Package it.unimi.dsi.fastutil.shorts
Interface Short2ObjectMap.Entry<V>
- All Superinterfaces:
java.util.Map.Entry<java.lang.Short,V>
- All Known Implementing Classes:
AbstractShort2ObjectMap.BasicEntry
- Enclosing interface:
- Short2ObjectMap<V>
public static interface Short2ObjectMap.Entry<V>
extends java.util.Map.Entry<java.lang.Short,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 default java.lang.ShortgetKey()Deprecated.Please use the corresponding type-specific method instead.shortgetShortKey()Returns the key corresponding to this entry.Methods inherited from interface java.util.Map.Entry
equals, getValue, hashCode, setValue
-
Method Details
-
getShortKey
short getShortKey()Returns the key corresponding to this entry.- See Also:
Map.Entry.getKey()
-
getKey
@Deprecated default java.lang.Short getKey()Deprecated.Please use the corresponding type-specific method instead.- Specified by:
getKeyin interfacejava.util.Map.Entry<java.lang.Short,V>
-