| Constructor and Description |
|---|
PagingIterator(Iterator<E> it,
Integer offset,
Integer limit)
Instantiates a new paging wrapper of the given iterator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic PagingIterator(@Nonnull Iterator<E> it, @CheckForNull Integer offset, @CheckForNull Integer limit) throws IllegalArgumentException
The iterator is iterated immediately as per offset.
it - The iterator to wrapoffset - The offset of the paging; null to do paging without
offset.limit - The limit of the paging; null to do paging without limit.IllegalArgumentException - When either offset or limit is negativeCopyright © 2010 - 2020 Adobe. All Rights Reserved