Interface ToFloatFunction<T>

  • Type Parameters:
    T - argument 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 ToFloatFunction<T>
    A function that takes an object and returns a primitive float.

    Generated by com.speedment.sources.pattern.function.ToFunctionPattern

    Since:
    1.0.2
    Author:
    Emil Forslund
    • Method Detail

      • applyAsFloat

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