Predicate[] predicates = new Predicate[criteria.size()];
for (int i = 0; i < criteria.size(); i++) {
FilterCriterion filterCriterion = criteria.get(i);
predicates[i] = (Predicate) filterCriterion.process(this);
}
return new AnyPredicate(predicates);
}