Interface ToFloatFunction<A>

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

    public interface ToFloatFunction<A>
    Function-Pointer Input: A Output: float.

    A FunctionalInterface (Function-Pointer) that points to a function that generates / produces a Java float-primitive. This function accepts 1 argument.

    • Method Summary

      @FunctionalInterface: (Lambda) Method
      Modifier and Type Method
      float applyAsFloat​(A a)
    • Method Detail

      • applyAsFloat

          🗕  🗗  🗖
        float applyAsFloat​(A a)
        Applies 'this' integer-function to the given argument, and returns the resulting 'float'

        FunctionalInterface Target-Method:
        This method corresponds to the @FunctionalInterface Annotation's method requirement. It is the only non-default, non-static method in this interface, and may be the target of a Lambda-Expression or '::' (double-colon) Function-Pointer.
        a - the input argument
        The 'float' result.