question: 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 ; }
target:  Reimplementation of same method from org.apache.commons.collections.CollectionUtils.