Interface Byte2ObjectMap.Entry<V>

All Superinterfaces:
Map.Entry<Byte,V>
All Known Implementing Classes:
AbstractByte2ObjectMap.BasicEntry
Enclosing interface:
Byte2ObjectMap<V>

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

    Modifier and Type
    Method
    Description
    byte
    Returns the key corresponding to this entry.
    default Byte
    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:
    • getKey

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