Package Torello.Java.Function
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.
@FunctionalInterface public interface ToFloatFunction<A>
Function-Pointer Input:AOutput:float.
AFunctionalInterface(Function-Pointer) that points to a function that generates / produces a Javafloat-primitive. This function accepts1argument.
Hi-Lited Source-Code:- View Here: Torello/Java/Function/ToFloatFunction.java
- Open New Browser-Tab: Torello/Java/Function/ToFloatFunction.java
File Size: 688 Bytes Line Count: 25 '\n' Characters Found
-
-
Method Summary
@FunctionalInterface: (Lambda) Method Modifier and Type Method floatapplyAsFloat(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@FunctionalInterfaceAnnotation's method requirement. It is the only non-default, non-staticmethod in this interface, and may be the target of a Lambda-Expression or'::'(double-colon) Function-Pointer.- Parameters:
a- the input argument- Returns:
- The
'float'result.
-
-