code: 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);
        }
      }
    }
docs: Adds a list of predicates to the current predicates using AND conjunctions
  
  @param newPredicates predicates to be added