question: public static < T > List < T > findAll ( final Collection < T > collection , final Filter < T > filter ) { final List < T > matches = new ArrayList < T > ( collection . size ( ) ) ; for ( final T element : collection ) { if ( filter . accept ( element ) ) { matches . add ( element ) ; } } return matches ; }
target:  Iterates the Collection and finds all object elements that match the Filter criteria. <p/>