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