@FunctionalInterface
public interface IntToFloatFunction2
Modifier and Type | Method and Description |
---|---|
float |
applyAsFloat(int value1,
int value2)
Apply this function to the given 2 arguments.
|
default IntToDoubleFunction2 |
asIntToDoubleFunction()
View this as a 2
int to double function. |
default IntToFloatFunction1 |
partial1(int value1)
View this function as one with 1 argument using a fix first argument.
|
default IntToFloatFunction1 |
partial2(int value2)
View this function as one with 1 argument using a fix second argument.
|
float applyAsFloat(int value1, int value2)
value1
- first argumentvalue2
- second argument@NotNull default IntToFloatFunction1 partial1(int value1)
value1
- fix first argument@NotNull default IntToFloatFunction1 partial2(int value2)
value2
- fix second argument@NotNull default IntToDoubleFunction2 asIntToDoubleFunction()
int
to double
function.-128.0
to 127.0