Assume that you want to build a copy of an ImmutableSet/List/Map object but filter out some of the original entries. One way to implem
ImmutableSet
List
Map
Look at Guava's Iterators
Specifically filter(Iterator unfiltered, Predicate predicate)