public static class IntPredicate.Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static IntPredicate |
and(IntPredicate p1,
IntPredicate p2)
Applies logical AND to predicates.
|
static IntPredicate |
negate(IntPredicate p1)
Applies logical negation to predicate.
|
static IntPredicate |
or(IntPredicate p1,
IntPredicate p2)
Applies logical OR to predicates.
|
static IntPredicate |
xor(IntPredicate p1,
IntPredicate p2)
Applies logical XOR to predicates.
|
public static IntPredicate and(IntPredicate p1, IntPredicate p2)
p1 - the first predicatep2 - the second predicatePredicateNullPointerException - if p1 or p2 is nullpublic static IntPredicate or(IntPredicate p1, IntPredicate p2)
p1 - the first predicatep2 - the second predicatePredicateNullPointerException - if p1 or p2 is nullpublic static IntPredicate xor(IntPredicate p1, IntPredicate p2)
p1 - the first predicatep2 - the second predicatePredicateNullPointerException - if p1 or p2 is nullpublic static IntPredicate negate(IntPredicate p1)
p1 - the predicate to be negatedPredicateNullPointerException - if p1 is nullCopyright © 2017. All rights reserved.