code: public <E> Iterator<E> filter(Iterator<E> iterator, EntityAccessor<E> accessor) {
      return Iterators.filter(iterator, toEntityPredicate(accessor));
    }
docs: Filter the entities returned by a given iterator by these constraints.
  
  @param <E> The type of entities to be matched
  @return an iterator filtered by these constraints