public < E > Iterator < E > filter ( Iterator < E > iterator , EntityAccessor < E > accessor ) { return Iterators . filter ( iterator , toEntityPredicate ( accessor ) ) ; }
Filter the entities returned by a given iterator by these constraints .