@FunctionalInterface public interface BooleanPredicate1 extends AbstractBooleanPredicate1<BooleanPredicate1>
boolean-valued argument and produces a boolean-valued result.
This is the one-arity specialization for PredicateN.
This is the predicate specialization for BooleanOperator1.
This is the boolean-consuming primitive specialization of Predicate1.
This is a functional interface whose functional method is AbstractBooleanPredicate1.test(boolean).
PredicateN,
BooleanOperator1,
Predicate1| Modifier and Type | Method and Description |
|---|---|
default BooleanPredicate1 |
and(BooleanPredicate1 other)
Intersects this object with another object to produce a combined result.
|
default Predicate1<java.lang.Boolean> |
boxInput() |
default <V> Predicate1<V> |
compose(net.ashwork.functionality.Function1<? super V,? extends java.lang.Boolean> before) |
default <V> Predicate1<V> |
composeUnchecked(net.ashwork.functionality.Function1<? super V,? extends java.lang.Boolean> before) |
static BooleanPredicate1 |
fromFunctionVariant(net.ashwork.functionality.operator.primitive.booleans.BooleanOperator1 function)
Creates an instance of this object from its
BooleanOperator1 function variant. |
default BooleanPredicate1 |
nand(BooleanPredicate1 other)
Intersects this object with another object to produce the complement of a combined result.
|
default BooleanPredicate1 |
nor(BooleanPredicate1 other)
Unions this object with another object to produce the complement of a combined result.
|
default BooleanPredicate1 |
not()
Gets the complement of this object.
|
default BooleanPredicate1 |
or(BooleanPredicate1 other)
Unions this object with another object to produce a combined result.
|
default BooleanPredicate1 |
orNot(BooleanPredicate1 other)
Subtracts the other object from this object to produce the complement of a combined result.
|
default BooleanPredicate1 |
sub(BooleanPredicate1 other)
Subtracts the other object from this object to produce a combined result.
|
default BooleanPredicate1 |
xnor(BooleanPredicate1 other)
Disjunctively unions this object with another object to produce the complement of a combined result.
|
default BooleanPredicate1 |
xor(BooleanPredicate1 other)
Disjunctively unions this object with another object to produce a combined result.
|
andThen, andThenUnchecked, arity, test, testAllUnchecked, toFunctionVariantapplyAllAsBooleanUncheckedstatic BooleanPredicate1 fromFunctionVariant(net.ashwork.functionality.operator.primitive.booleans.BooleanOperator1 function)
BooleanOperator1 function variant.function - the function variant of this objectBooleanOperator1default Predicate1<java.lang.Boolean> boxInput()
boxInput in interface AbstractBooleanPredicate1<BooleanPredicate1>boxInput in interface net.ashwork.functionality.partial.UnboxedInput<AbstractPredicate1<java.lang.Boolean,?>>Predicate1default <V> Predicate1<V> compose(net.ashwork.functionality.Function1<? super V,? extends java.lang.Boolean> before)
compose in interface AbstractBooleanPredicate1<BooleanPredicate1>compose in interface net.ashwork.functionality.partial.InputChainable<java.lang.Boolean>compose in interface net.ashwork.functionality.partial.InputChainableInput<java.lang.Boolean>Predicate1default <V> Predicate1<V> composeUnchecked(net.ashwork.functionality.Function1<? super V,? extends java.lang.Boolean> before)
composeUnchecked in interface AbstractBooleanPredicate1<BooleanPredicate1>composeUnchecked in interface net.ashwork.functionality.partial.InputChainable<java.lang.Boolean>composeUnchecked in interface net.ashwork.functionality.partial.InputChainableInput<java.lang.Boolean>Predicate1default BooleanPredicate1 not()
Not~A or a logical NOT.not in interface AbstractBooleanPredicate1<BooleanPredicate1>not in interface AbstractPredicateN<BooleanPredicate1>not in interface LogicalOperator<BooleanPredicate1>not in interface Nand<BooleanPredicate1>not in interface Nor<BooleanPredicate1>not in interface Notnot in interface OrNot<BooleanPredicate1>not in interface Sub<BooleanPredicate1>not in interface Xnor<BooleanPredicate1>not in interface Xor<BooleanPredicate1>default BooleanPredicate1 and(BooleanPredicate1 other)
AndA & B or a logical AND.and in interface AbstractBooleanPredicate1<BooleanPredicate1>and in interface AbstractPredicateN<BooleanPredicate1>and in interface And<BooleanPredicate1>and in interface LogicalOperator<BooleanPredicate1>and in interface Nand<BooleanPredicate1>and in interface Sub<BooleanPredicate1>and in interface Xnor<BooleanPredicate1>and in interface Xor<BooleanPredicate1>other - the intersected objectother objectdefault BooleanPredicate1 or(BooleanPredicate1 other)
OrA | B or a logical OR.or in interface AbstractBooleanPredicate1<BooleanPredicate1>or in interface AbstractPredicateN<BooleanPredicate1>or in interface LogicalOperator<BooleanPredicate1>or in interface Nor<BooleanPredicate1>or in interface Or<BooleanPredicate1>or in interface OrNot<BooleanPredicate1>or in interface Xnor<BooleanPredicate1>or in interface Xor<BooleanPredicate1>other - the unioned objectother objectdefault BooleanPredicate1 xor(BooleanPredicate1 other)
XorA ^ B or a logical XOR.xor in interface AbstractBooleanPredicate1<BooleanPredicate1>xor in interface AbstractPredicateN<BooleanPredicate1>xor in interface LogicalOperator<BooleanPredicate1>xor in interface Xnor<BooleanPredicate1>xor in interface Xor<BooleanPredicate1>other - the disjunctively unioned objectother objectdefault BooleanPredicate1 sub(BooleanPredicate1 other)
SubA - B or the relative complement.sub in interface AbstractBooleanPredicate1<BooleanPredicate1>sub in interface AbstractPredicateN<BooleanPredicate1>sub in interface LogicalOperator<BooleanPredicate1>sub in interface Sub<BooleanPredicate1>sub in interface Xnor<BooleanPredicate1>sub in interface Xor<BooleanPredicate1>other - the subtrahend objectother object being
subtracted from this objectdefault BooleanPredicate1 nand(BooleanPredicate1 other)
Nand~(A & B) or a logical NAND.nand in interface AbstractBooleanPredicate1<BooleanPredicate1>nand in interface AbstractPredicateN<BooleanPredicate1>nand in interface LogicalOperator<BooleanPredicate1>nand in interface Nand<BooleanPredicate1>other - the intersected objectother objectdefault BooleanPredicate1 nor(BooleanPredicate1 other)
Nor~(A | B) or a logical NOR.nor in interface AbstractBooleanPredicate1<BooleanPredicate1>nor in interface AbstractPredicateN<BooleanPredicate1>nor in interface LogicalOperator<BooleanPredicate1>nor in interface Nor<BooleanPredicate1>other - the unioned objectother objectdefault BooleanPredicate1 xnor(BooleanPredicate1 other)
Xnor~(A ^ B) or a logical XNOR.xnor in interface AbstractBooleanPredicate1<BooleanPredicate1>xnor in interface AbstractPredicateN<BooleanPredicate1>xnor in interface LogicalOperator<BooleanPredicate1>xnor in interface Xnor<BooleanPredicate1>other - the disjunctively unioned objectother objectdefault BooleanPredicate1 orNot(BooleanPredicate1 other)
OrNot~(A - B) or the complement of the relative complement.orNot in interface AbstractBooleanPredicate1<BooleanPredicate1>orNot in interface AbstractPredicateN<BooleanPredicate1>orNot in interface LogicalOperator<BooleanPredicate1>orNot in interface OrNot<BooleanPredicate1>other - the subtrahend objectother
object being subtracted from this object