Interface FloatFunction<T>

Type Parameters:
T - The return type of this function
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 FloatFunction<T>
A function which takes one float as its input, and returns an arbitrary type T.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(float value)
    Applies this function.
  • Method Details

    • apply

      T apply(float value)
      Applies this function.
      Parameters:
      value - The value of which to apply this function to
      Returns:
      The return value of this function