private class ResourceCollection.PagedIterator<E> extends Object implements Iterator<E>
Modifier and Type | Field and Description |
---|---|
private List<String> |
ids |
private int |
index |
private List<E> |
items |
private int |
nextIndexToFetch |
private int |
pageSize |
private ResourceCollection<E> |
resourceCollection |
Constructor and Description |
---|
PagedIterator(ResourceCollection<E> resourceCollection) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
E |
next() |
private List<String> |
nextBatchOfIds() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private ResourceCollection<E> resourceCollection
private int pageSize
private int index
private int nextIndexToFetch
public PagedIterator(ResourceCollection<E> resourceCollection)
Copyright © 2013-2017. All Rights Reserved.