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