Interface Long2ReferenceMap.Entry<V>

All Superinterfaces:
Map.Entry<Long,V>
All Known Implementing Classes:
AbstractLong2ReferenceMap.BasicEntry
Enclosing interface:
Long2ReferenceMap<V>

public static interface Long2ReferenceMap.Entry<V> extends Map.Entry<Long,V>
A type-specific Map.Entry; provides some additional methods that use polymorphism to avoid (un)boxing.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default Long
    Deprecated.
    Please use the corresponding type-specific method instead.
    long
    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:
    • getKey

      @Deprecated default Long getKey()
      Deprecated.
      Please use the corresponding type-specific method instead.
      Specified by:
      getKey in interface Map.Entry<Long,V>