Interface ToByteFunction<T>

Type Parameters:
T - the type of the input to the function
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Generated(generator="eu.bandm.tools.expander", version="1.3", timestamp="2025-08-17T23:53:05") @FunctionalInterface public interface ToByteFunction<T>
Represents a function that produces a byte-valued result. This is the byte-producing primitive specialization for Function.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    applyAsByte(T value)
    Applies this function to the given argument.
  • Method Details

    • applyAsByte

      byte applyAsByte(T value)
      Applies this function to the given argument.
      Parameters:
      value - the function argument
      Returns:
      the function result