Interface Byte2ReferenceMap.Entry<V>

All Superinterfaces:
Map.Entry<Byte,​V>
All Known Implementing Classes:
AbstractByte2ReferenceMap.BasicEntry
Enclosing interface:
Byte2ReferenceMap<V>

public static interface Byte2ReferenceMap.Entry<V>
extends Map.Entry<Byte,​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
    byte getByteKey()
    Returns the key corresponding to this entry.
    default Byte getKey()
    Deprecated.
    Please use the corresponding type-specific method instead.

    Methods inherited from interface java.util.Map.Entry

    equals, getValue, hashCode, setValue
  • Method Details

    • getByteKey

      byte getByteKey()
      Returns the key corresponding to this entry.
      See Also:
      Map.Entry.getKey()
    • getKey

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