Package civitas.celestis.util.function
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.
A function which takes an arbitrary type
T as its input, and returns a float.-
Method Summary
-
Method Details
-
applyAsFloat
Applies this function.- Parameters:
t- The input parameter- Returns:
- The return value of this function
-