Constructor and Description |
---|
Predicates() |
Modifier and Type | Method and Description |
---|---|
static Predicate |
and(Predicate... predicates)
Creates an AND predicate over all the given component predicates.
|
static Predicate |
not(Predicate predicate)
Creates a NOT predicate for the given component predicate.
|
static Predicate |
or(Predicate... predicates)
Creates an OR predicate over all the given component predicates.
|
public static Predicate and(Predicate... predicates)
true
for the AND predicate to do so.predicates
- component predicatespublic static Predicate or(Predicate... predicates)
true
for the OR predicate to do so.predicates
- component predicatesCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.