Interface Short2ObjectMap.Entry<V>

All Superinterfaces:
Map.Entry<Short,​V>
All Known Implementing Classes:
AbstractShort2ObjectMap.BasicEntry
Enclosing interface:
Short2ObjectMap<V>

public static interface Short2ObjectMap.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:
Map.Entry
  • Method Summary

    Modifier and Type Method Description
    default Short getKey()
    Deprecated.
    Please use the corresponding type-specific method instead.
    short getShortKey()
    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 Short getKey()
      Deprecated.
      Please use the corresponding type-specific method instead.
      Specified by:
      getKey in interface Map.Entry<Short,​V>