I want to filter a java.util.Collection based on a predicate.
java.util.Collection
Use CollectionUtils.filter(Collection,Predicate), from Apache Commons.