@FunctionalInterface public interface Predicate0 extends AbstractPredicate0<Predicate0>
boolean-valued result.
This is the zero-arity specialization for Predicate0.
This is the predicate specialization for ToBooleanFunction0.
This is a functional interface whose functional method is AbstractPredicate0.test().
Predicate0,
ToBooleanFunction0| Modifier and Type | Method and Description |
|---|---|
default Predicate0 |
and(Predicate0 other)
Intersects this object with another object to produce a combined result.
|
static Predicate0 |
fromFunctionVariant(net.ashwork.functionality.primitive.booleans.ToBooleanFunction0 function)
Creates an instance of this object from its
ToBooleanFunction0 function variant. |
default Predicate0 |
nand(Predicate0 other)
Intersects this object with another object to produce the complement of a combined result.
|
default Predicate0 |
nor(Predicate0 other)
Unions this object with another object to produce the complement of a combined result.
|
default Predicate0 |
not()
Gets the complement of this object.
|
default Predicate0 |
or(Predicate0 other)
Unions this object with another object to produce a combined result.
|
default Predicate0 |
orNot(Predicate0 other)
Subtracts the other object from this object to produce the complement of a combined result.
|
default Predicate0 |
sub(Predicate0 other)
Subtracts the other object from this object to produce a combined result.
|
default Predicate0 |
xnor(Predicate0 other)
Disjunctively unions this object with another object to produce the complement of a combined result.
|
default Predicate0 |
xor(Predicate0 other)
Disjunctively unions this object with another object to produce a combined result.
|
andThen, andThenUnchecked, arity, test, testAllUnchecked, toFunctionVariantapplyAllAsBooleanUncheckedstatic Predicate0 fromFunctionVariant(net.ashwork.functionality.primitive.booleans.ToBooleanFunction0 function)
ToBooleanFunction0 function variant.function - the function variant of this objectToBooleanFunction0default Predicate0 not()
Not~A or a logical NOT.not in interface AbstractPredicate0<Predicate0>not in interface AbstractPredicateN<Predicate0>not in interface LogicalOperator<Predicate0>not in interface Nand<Predicate0>not in interface Nor<Predicate0>not in interface Notnot in interface OrNot<Predicate0>not in interface Sub<Predicate0>not in interface Xnor<Predicate0>not in interface Xor<Predicate0>default Predicate0 and(Predicate0 other)
AndA & B or a logical AND.and in interface AbstractPredicate0<Predicate0>and in interface AbstractPredicateN<Predicate0>and in interface And<Predicate0>and in interface LogicalOperator<Predicate0>and in interface Nand<Predicate0>and in interface Sub<Predicate0>and in interface Xnor<Predicate0>and in interface Xor<Predicate0>other - the intersected objectother objectdefault Predicate0 or(Predicate0 other)
OrA | B or a logical OR.or in interface AbstractPredicate0<Predicate0>or in interface AbstractPredicateN<Predicate0>or in interface LogicalOperator<Predicate0>or in interface Nor<Predicate0>or in interface Or<Predicate0>or in interface OrNot<Predicate0>or in interface Xnor<Predicate0>or in interface Xor<Predicate0>other - the unioned objectother objectdefault Predicate0 xor(Predicate0 other)
XorA ^ B or a logical XOR.xor in interface AbstractPredicate0<Predicate0>xor in interface AbstractPredicateN<Predicate0>xor in interface LogicalOperator<Predicate0>xor in interface Xnor<Predicate0>xor in interface Xor<Predicate0>other - the disjunctively unioned objectother objectdefault Predicate0 sub(Predicate0 other)
SubA - B or the relative complement.sub in interface AbstractPredicate0<Predicate0>sub in interface AbstractPredicateN<Predicate0>sub in interface LogicalOperator<Predicate0>sub in interface Sub<Predicate0>sub in interface Xnor<Predicate0>sub in interface Xor<Predicate0>other - the subtrahend objectother object being
subtracted from this objectdefault Predicate0 nand(Predicate0 other)
Nand~(A & B) or a logical NAND.nand in interface AbstractPredicate0<Predicate0>nand in interface AbstractPredicateN<Predicate0>nand in interface LogicalOperator<Predicate0>nand in interface Nand<Predicate0>other - the intersected objectother objectdefault Predicate0 nor(Predicate0 other)
Nor~(A | B) or a logical NOR.nor in interface AbstractPredicate0<Predicate0>nor in interface AbstractPredicateN<Predicate0>nor in interface LogicalOperator<Predicate0>nor in interface Nor<Predicate0>other - the unioned objectother objectdefault Predicate0 xnor(Predicate0 other)
Xnor~(A ^ B) or a logical XNOR.xnor in interface AbstractPredicate0<Predicate0>xnor in interface AbstractPredicateN<Predicate0>xnor in interface LogicalOperator<Predicate0>xnor in interface Xnor<Predicate0>other - the disjunctively unioned objectother objectdefault Predicate0 orNot(Predicate0 other)
OrNot~(A - B) or the complement of the relative complement.orNot in interface AbstractPredicate0<Predicate0>orNot in interface AbstractPredicateN<Predicate0>orNot in interface LogicalOperator<Predicate0>orNot in interface OrNot<Predicate0>other - the subtrahend objectother
object being subtracted from this object