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