Interface ToFloatFunction<T>

Type Parameters:
T - The input parameter 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 ToFloatFunction<T>
A function which takes an arbitrary type T as its input, and returns a float.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Applies this function.
  • Method Details

    • applyAsFloat

      float applyAsFloat(T t)
      Applies this function.
      Parameters:
      t - The input parameter
      Returns:
      The return value of this function