Interface IntToFloatFunction
- 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 accepts an int-valued argument and produces a float-valued result.
This is a int
-to-float
primitive specialization for Function
.
It is modelled after IntToDoubleFunction
.
-
Method Summary
Modifier and TypeMethodDescriptionfloat
applyAsFloat
(int value) Applies this function to the given argument.
-
Method Details
-
applyAsFloat
float applyAsFloat(int value) Applies this function to the given argument.- Parameters:
value
- the function argument.- Returns:
- the function result.
-