Interface FloatFunction<T>

  • Type Parameters:
    T - return type
    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 that takes a primitive float and returns an object.
    Since:
    1.0.2
    Author:
    Emil Forslund
    • Method Detail

      • apply

        T apply​(float value)
        Applies this function to the given argument.
        Parameters:
        value - the argument
        Returns:
        the result