public class Predicates
extends java.lang.Object
Predicate
s.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 predicates"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"