Interface Object2ByteMap.Entry<K>

All Superinterfaces:
Map.Entry<K,Byte>
All Known Implementing Classes:
AbstractObject2ByteMap.BasicEntry
Enclosing interface:
Object2ByteMap<K>

public static interface Object2ByteMap.Entry<K> extends Map.Entry<K,Byte>
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 value corresponding to this entry.
    default Byte
    Deprecated.
    Please use the corresponding type-specific method instead.
    byte
    setValue(byte value)
    Replaces the value corresponding to this entry with the specified value (optional operation).
    default Byte
    setValue(Byte value)
    Deprecated.
    Please use the corresponding type-specific method instead.

    Methods inherited from interface java.util.Map.Entry

    equals, getKey, hashCode
  • Method Details

    • getByteValue

      byte getByteValue()
      Returns the value corresponding to this entry.
      See Also:
    • setValue

      byte setValue(byte value)
      Replaces the value corresponding to this entry with the specified value (optional operation).
      See Also:
    • getValue

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

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