Package it.unimi.dsi.fastutil.shorts
Interface Short2ReferenceMap.Entry<V>
-
- All Superinterfaces:
java.util.Map.Entry<java.lang.Short,V>
- All Known Implementing Classes:
AbstractShort2ReferenceMap.BasicEntry
- Enclosing interface:
- Short2ReferenceMap<V>
public static interface Short2ReferenceMap.Entry<V> extends java.util.Map.Entry<java.lang.Short,V>
A type-specificMap.Entry
; provides some additional methods that use polymorphism to avoid (un)boxing.- See Also:
Map.Entry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.Short
getKey()
Deprecated.Please use the corresponding type-specific method instead.short
getShortKey()
Returns the key corresponding to this entry.
-
-
-
Method Detail
-
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:
getKey
in interfacejava.util.Map.Entry<java.lang.Short,V>
-
-