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