Interface IntToByteFunction

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 IntToByteFunction
A function that accepts an int and returns a byte.
Since:
1.2
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    apply(int e)
    Applies the function.
  • Method Details

    • apply

      byte apply(int e)
      Applies the function.
      Parameters:
      e - The argument.
      Returns:
      The result.