code: public static <E> Collection<E> filterColl(Iterable<E> coll,
  					       Predicate<E> pred,
  					       Collection<E> newColl) {
  	for(E elem : coll) {
  	    if(pred.check(elem)) {
  		newColl.add(elem);
  	    }
  	}
  	return newColl;
      }
docs: Put in <code>newColl</code> all elements of <code>coll</code>
  that satisfy the predicate <code>pred</code>.
  
  @return newColl, the collection with the filtered elements.