@FunctionalInterface
public interface BooleanOperator2
| Modifier and Type | Field and Description |
|---|---|
static BooleanOperator2 |
AND
Standard short-cut boolean AND (
&&) operator. |
static BooleanOperator2 |
BIN_AND
Default no-short boolean AND (
&) operator. |
static BooleanOperator2 |
BIN_OR
Default no-short boolean OR (
|) operator. |
static BooleanOperator2 |
OR
Standard short-cut boolean OR (
||) operator. |
static BooleanOperator2 |
XOR
Default boolean XOR (
^) XOR operator. |
| Modifier and Type | Method and Description |
|---|---|
default BooleanOperator2 |
andThen(BooleanOperator1 after)
Create a function which applies this function and feeds the result into the next function.
|
boolean |
applyAsBoolean(boolean arg1,
boolean arg2)
Apply the function.
|
default BooleanOperator1 |
partialLeft(boolean argument)
Get a partially applied function.
|
default BooleanOperator1 |
partialRight(boolean argument)
Get a partially applied function.
|
static final BooleanOperator2 AND
&&) operator.static final BooleanOperator2 BIN_AND
&) operator.static final BooleanOperator2 OR
||) operator.static final BooleanOperator2 BIN_OR
|) operator.static final BooleanOperator2 XOR
^) XOR operator.boolean applyAsBoolean(boolean arg1,
boolean arg2)
arg1 - first argumentarg2 - second argument@NotNull default BooleanOperator1 partialLeft(boolean argument)
argument - value applied for first argument@NotNull default BooleanOperator1 partialRight(boolean argument)
argument - value applied for second argument@NotNull default BooleanOperator2 andThen(@NotNull BooleanOperator1 after)
after - function called with the result of this function