Class BroadleafPagingStreams.PagingIterator<T>
- java.lang.Object
-
- com.broadleafcommerce.data.tracking.core.repository.support.BroadleafPagingStreams.PagingIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
- BroadleafPagingStreams
public static final class BroadleafPagingStreams.PagingIterator<T> extends Object implements Iterator<T>
An iterator over a large set of elements that relies on aPageSource
to fetch data in chunks as necessary.
-
-
Constructor Summary
Constructors Constructor Description PagingIterator(PageSource<T> source, org.springframework.data.domain.Pageable firstPageRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-