@FunctionalInterface
public interface IntToShortFunction2
Modifier and Type | Method and Description |
---|---|
short |
applyAsShort(int value1,
int value2)
Apply this function to the given 2 arguments.
|
default IntToCharFunction2 |
asIntToCharFunction()
View this as an
int to char function which
considers the byte values unsigned. |
default IntToDoubleFunction2 |
asIntToDoubleFunction()
View this as an
int to double function. |
default java.util.function.IntBinaryOperator |
asIntToIntFunction()
View this as an
int to int function. |
default IntToLongFunction2 |
asIntToLongFunction()
View this as an
int to long function. |
default IntToDoubleFunction2 |
asIntToUnsignedDoubleFunction()
View this as an
int to unsigned double function. |
default java.util.function.IntBinaryOperator |
asIntToUnsignedIntFunction()
View this as an
int to unsigned int function. |
default IntToLongFunction2 |
asIntToUnsignedLongFunction()
View this as an
int to unsigned long function. |
short applyAsShort(int value1, int value2)
value1
- first argumentvalue2
- second argument@NotNull default java.util.function.IntBinaryOperator asIntToIntFunction()
int
to int
function.-32768
to 32767
@NotNull default java.util.function.IntBinaryOperator asIntToUnsignedIntFunction()
int
to unsigned int
function.0
to 65535
@NotNull default IntToLongFunction2 asIntToLongFunction()
int
to long
function.-32768L
to 32767L
@NotNull default IntToLongFunction2 asIntToUnsignedLongFunction()
int
to unsigned long
function.0L
to 65535L
@NotNull default IntToDoubleFunction2 asIntToDoubleFunction()
int
to double
function.-32768.0
to 32767.0
@NotNull default IntToDoubleFunction2 asIntToUnsignedDoubleFunction()
int
to unsigned double
function.0.0
to 65535.0
@NotNull default IntToCharFunction2 asIntToCharFunction()
int
to char
function which
considers the byte values unsigned.(char)0
and (char)65535