ByteSupplier (Apache Commons Lang 3.20.0 API)
Description: declaration: package: org.apache.commons.lang3.function, interface: ByteSupplier

# 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.

@FunctionalInterface public interface ByteSupplier
A functional interface like `IntSupplier`, but for a byte.

Since:
  3.19

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte`
  `getAsByte()`
  Supplies a byte.

- ## Method Details

  - ### getAsByte

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