@FunctionalInterface
public interface IntToByteFunction2
Modifier and Type | Method and Description |
---|---|
byte |
applyAsByte(int value1,
int value2)
Apply this function to the given 2 arguments.
|
default IntToCharFunction2 |
asIntToCharFunction()
View this as a 2
int to char function which
considers the byte values unsigned. |
default IntToDoubleFunction2 |
asIntToDoubleFunction()
View this as a 2
int to double function. |
default java.util.function.IntBinaryOperator |
asIntToIntFunction()
View this as a 2
int to int function. |
default IntToLongFunction2 |
asIntToLongFunction()
View this as a 2
int to long function. |
default IntToShortFunction2 |
asIntToShortFunction()
View this as an
int to short function. |
default IntToDoubleFunction2 |
asIntToUnsignedDoubleFunction()
View this as a 2
int to unsigned double function. |
default java.util.function.IntBinaryOperator |
asIntToUnsignedIntFunction()
View this as a 2
int to unsigned int function. |
default IntToLongFunction2 |
asIntToUnsignedLongFunction()
View this as a 2
int to unsigned long function. |
default IntToShortFunction2 |
asIntToUnsignedShortFunction()
View this as a 2
int to unsigned short function. |
default IntToByteFunction1 |
partial1(int value1)
View this function as one with 1 argument using a fix first argument.
|
default IntToByteFunction1 |
partial2(int value2)
View this function as one with 1 argument using a fix second argument.
|
byte applyAsByte(int value1, int value2)
value1
- first argumentvalue2
- second argument@NotNull default IntToByteFunction1 partial1(int value1)
value1
- fix first argument@NotNull default IntToByteFunction1 partial2(int value2)
value2
- fix second argument@NotNull default IntToShortFunction2 asIntToShortFunction()
int
to short
function.-128
to 127
@NotNull default IntToShortFunction2 asIntToUnsignedShortFunction()
int
to unsigned short
function.0
to 255
@NotNull default java.util.function.IntBinaryOperator asIntToIntFunction()
int
to int
function.-128
to 127
@NotNull default java.util.function.IntBinaryOperator asIntToUnsignedIntFunction()
int
to unsigned int
function.0
to 255
@NotNull default IntToLongFunction2 asIntToLongFunction()
int
to long
function.-128L
to 127L
@NotNull default IntToLongFunction2 asIntToUnsignedLongFunction()
int
to unsigned long
function.0L
to 255L
@NotNull default IntToDoubleFunction2 asIntToDoubleFunction()
int
to double
function.-128.0
to 127.0
@NotNull default IntToDoubleFunction2 asIntToUnsignedDoubleFunction()
int
to unsigned double
function.0.0
to 255.0
@NotNull default IntToCharFunction2 asIntToCharFunction()
int
to char
function which
considers the byte values unsigned.(char)0
and (char)255