Interface ToFloatFunction<T>
- Type Parameters:
T- the type of the input to the function.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a function that produces a float-valued result.
This is the float-producing primitive specialization for Function.
There is no ToFloatFunction interface in java.util.function.
-
Method Summary
Modifier and TypeMethodDescriptionfloatapplyAsFloat(T o) Applies this function to the given argument.
-
Method Details
-
applyAsFloat
Applies this function to the given argument.- Parameters:
o- the input object.- Returns:
- the function value.
-