private void addPredicates ( List < Predicate > newPredicates ) { for ( Predicate newPredicate : newPredicates ) { if ( this . predicates == null ) { this . predicates = newPredicate ; } else { this . predicates = new And ( this . predicates , newPredicate ) ; } } }
Adds a list of predicates to the current predicates using AND conjunctions