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