Interface ByteSupplier

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A functional interface like IntSupplier, but for a byte.
Since:
3.19
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    Supplies a byte.
  • Method Details

    • getAsByte

      byte getAsByte()
      Supplies a byte.
      Returns:
      a result.