org.locationtech.geomesa.utils.iterators.InfiniteIterator
the predicate defining which element to stop after
a Iterator which will delegate to the underlying iterator and return all elements up to
and including the first element
for which p(a) == true after which no more calls will
be made to the underlying iteratora