public static Collection select(final Collection selection,final Predicate filter){
  Collection ret=new ArrayList();
  for (  Object object : selection) {
    if (filter.evaluate(object)) {
      ret.add(object);
    }
  }
  return ret;
}

public static Collection select ( final Collection selection , final Predicate filter ) { Collection ret = new ArrayList ( ) ; for ( Object object : selection ) { if ( filter . evaluate ( object ) ) { ret . add ( object ) ; } } return ret ; }
reimplementation of same method from org . apache . commons . collections . collectionutils .
