@FunctionalInterface
public interface IntToByteFunction1
Modifier and Type | Method and Description |
---|---|
byte |
applyAsByte(int value)
/**
Applies this function to the given argument.
|
default IntToCharFunction1 |
asIntToCharFunction()
View this as an
int to char function which
considers the byte values unsigned. |
default java.util.function.IntToDoubleFunction |
asIntToDoubleFunction()
View this as an
int to double function. |
default java.util.function.IntUnaryOperator |
asIntToIntFunction()
View this as an
int to int function. |
default java.util.function.IntToLongFunction |
asIntToLongFunction()
View this as an
int to long function. |
default IntToShortFunction1 |
asIntToShortFunction()
View this as an
int to short function. |
default java.util.function.IntToDoubleFunction |
asIntToUnsignedDoubleFunction()
View this as an
int to unsigned double function. |
default java.util.function.IntUnaryOperator |
asIntToUnsignedIntFunction()
View this as an
int to unsigned int function. |
default java.util.function.IntToLongFunction |
asIntToUnsignedLongFunction()
View this as an
int to unsigned long function. |
default IntToShortFunction1 |
asIntToUnsignedShortFunction()
View this as an
int to unsigned short function. |
byte applyAsByte(int value)
value
- the function argument@NotNull default IntToShortFunction1 asIntToShortFunction()
int
to short
function.-128
to 127
@NotNull default IntToShortFunction1 asIntToUnsignedShortFunction()
int
to unsigned short
function.0
to 255
@NotNull default java.util.function.IntUnaryOperator asIntToIntFunction()
int
to int
function.-128
to 127
@NotNull default java.util.function.IntUnaryOperator asIntToUnsignedIntFunction()
int
to unsigned int
function.0
to 255
@NotNull default java.util.function.IntToLongFunction asIntToLongFunction()
int
to long
function.-128L
to 127L
@NotNull default java.util.function.IntToLongFunction asIntToUnsignedLongFunction()
int
to unsigned long
function.0L
to 255L
@NotNull default java.util.function.IntToDoubleFunction asIntToDoubleFunction()
int
to double
function.-128.0
to 127.0
@NotNull default java.util.function.IntToDoubleFunction asIntToUnsignedDoubleFunction()
int
to unsigned double
function.0.0
to 255.0
@NotNull default IntToCharFunction1 asIntToCharFunction()
int
to char
function which
considers the byte values unsigned.(char)0
and (char)255