Package step.commons.iterators
Class SkipLimitIterator<T>
- java.lang.Object
-
- step.commons.iterators.SkipLimitIterator<T>
-
-
Constructor Summary
Constructors Constructor Description SkipLimitIterator(SkipLimitProvider<T> provider)
SkipLimitIterator(SkipLimitProvider<T> provider, int batchSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
getNextBatch()
boolean
hasNext()
T
next()
protected void
preloadNextElement()
-
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
-
-
-
-
Constructor Detail
-
SkipLimitIterator
public SkipLimitIterator(SkipLimitProvider<T> provider)
-
SkipLimitIterator
public SkipLimitIterator(SkipLimitProvider<T> provider, int batchSize)
-
-