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