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