I want to filter a java.util.Collection based on a predicate.
What is the best way to filter a Java Collection? Anonymous User 2036 07 Aug 2015 I want to filter a java.util.Collection based on a predicate.
List<Person> beerDrinkers = select(persons, having(on(Person.class).getAge(), greaterThan(16)));