public class AndPredicate extends ArrayPredicate
| Constructor and Description |
|---|
AndPredicate(Predicate... predicates) |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
create(Predicate... predicates)
Factory method.
|
boolean |
evaluate(Resource resource)
Evaluate the predicate for the given resource.
|
String |
getOperator() |
static Predicate |
instance(Predicate... predicates) |
accept, equals, getPredicates, getPropertyIds, hashCode, toStringpublic AndPredicate(Predicate... predicates)
public Predicate create(Predicate... predicates)
ArrayPredicatecreate in class ArrayPredicatepredicates - the predicate arraypublic boolean evaluate(Resource resource)
Predicateresource - the resource to evaluate the predicate againstpublic String getOperator()
getOperator in class ArrayPredicateCopyright © 2022 Apache Software Foundation. All rights reserved.