@FunctionalInterface
public interface ByteOperator2
| Modifier and Type | Field and Description |
|---|---|
static ByteOperator2 |
DIV
DIVISION (
/) operator. |
static ByteOperator2 |
MINUS
MINUS (
-) operator. |
static ByteOperator2 |
MOD
MODULO (
%) operator. |
static ByteOperator2 |
MULT
MULTIPLICATION (
*) operator. |
static ByteOperator2 |
PLUS
PLUS (
+) operator. |
| Modifier and Type | Method and Description |
|---|---|
default ByteOperator2 |
andThen(ByteOperator1 after)
Create a function which applies this function and feeds the result into the next function.
|
byte |
applyAsByte(byte arg1,
byte arg2)
Apply the function.
|
default ByteOperator1 |
partialLeft(byte argument)
Get a partially applied function.
|
default ByteOperator1 |
partialRight(byte argument)
Get a partially applied function.
|
static final ByteOperator2 PLUS
+) operator.
In difference to the standard PLUS this operator returns a byte result.static final ByteOperator2 MINUS
-) operator.
In difference to the standard MINUS this operator returns a byte result.static final ByteOperator2 MULT
*) operator.
In difference to the standard MULTIPLICATION this operator returns a byte result.static final ByteOperator2 DIV
/) operator.
In difference to the standard DIVISION this operator returns a byte result.static final ByteOperator2 MOD
%) operator.
In difference to the standard MOULO this operator returns a byte result.byte applyAsByte(byte arg1,
byte arg2)
arg1 - first argumentarg2 - second argument@NotNull default ByteOperator1 partialLeft(byte argument)
argument - value applied for first argument@NotNull default ByteOperator1 partialRight(byte argument)
argument - value applied for second argument@NotNull default ByteOperator2 andThen(@NotNull ByteOperator1 after)
after - function called with the result of this function