@FunctionalInterface
public interface ByteOperator1
| Modifier and Type | Field and Description |
|---|---|
static ByteOperator1 |
BIT_FLIP
Byte operator BIT FLIP (
~). |
static ByteOperator1 |
NEGATE
Byte operator NEGATE.
|
| Modifier and Type | Method and Description |
|---|---|
default ByteOperator1 |
andThen(ByteOperator1 after)
Create a function which applies this function and feeds the result into the next function.
|
byte |
applyAsByte(byte value)
Apply the function.
|
default ByteOperator0 |
partial(byte argument)
Create a zero argument function from this one by applying a constant argument.
|
static final ByteOperator1 NEGATE
byte result.
This means that besides 0 also Byte.MIN_VALUE is its own negative.static final ByteOperator1 BIT_FLIP
~).
In difference to the standard BIT FLIP this operator returns a byte result.byte applyAsByte(byte value)
value - parameter value of the function@NotNull default ByteOperator0 partial(byte argument)
argument - constant argument@NotNull default ByteOperator1 andThen(@NotNull ByteOperator1 after)
after - function called with the result of this function