applies the given filter to each of the given elements , and returns the array of elements that were accepted . the runtime type of the returned array is the same as the passed in array . concode_field_sep boolean negated concode_elem_sep long serialVersionUID concode_elem_sep long serialVersionUID concode_elem_sep Predicate<E> f1 concode_elem_sep List<Predicate<T>> filters concode_elem_sep long serialVersionUID concode_elem_sep Predicate<E> f2 concode_elem_sep double fraction concode_elem_sep Collection<E> args concode_elem_sep Predicate<E> filter concode_elem_sep Random random concode_elem_sep boolean conjunction concode_elem_sep boolean judgment concode_elem_sep long serialVersionUID concode_elem_sep long serialVersionUID concode_elem_sep long serialVersionUID concode_field_sep Predicate<E> notFilter concode_elem_sep Predicate<E> andFilter concode_elem_sep Predicate<T> rejectFilter concode_elem_sep boolean test concode_elem_sep boolean test concode_elem_sep boolean test concode_elem_sep boolean test concode_elem_sep boolean test concode_elem_sep boolean test concode_elem_sep boolean test concode_elem_sep Predicate<E> switchedFilter concode_elem_sep Predicate<E> collectionRejectFilter concode_elem_sep Predicate<E> collectionRejectFilter concode_elem_sep Predicate<T> acceptFilter concode_elem_sep Predicate<E> collectionAcceptFilter concode_elem_sep Predicate<E> collectionAcceptFilter concode_elem_sep Predicate<E> orFilter concode_elem_sep E[] filter concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void addFilter concode_elem_sep void addFilter concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep void retainAll
E [ ] function ( E [ ] arg0 , Predicate < E > arg1 ) { List < E > loc0 = new ArrayList < > ( ) ; for ( E loc1 : arg0 ) { if ( arg1 . test ( loc1 ) ) { loc0 . add ( loc1 ) ; } } return ( loc0 . toArray ( ( E [ ] ) Array . newInstance ( arg0 . getClass ( ) . getComponentType ( ) , loc0 . size ( ) ) ) ) ; }