Interface Short2ReferenceMap.Entry<V>

All Superinterfaces:
Map.Entry<Short,V>
All Known Implementing Classes:
AbstractShort2ReferenceMap.BasicEntry
Enclosing interface:
Short2ReferenceMap<V>

public static interface Short2ReferenceMap.Entry<V> extends Map.Entry<Short,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 Short
    Deprecated.
    Please use the corresponding type-specific method instead.
    short
    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:
    • getKey

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