com.braintreegateway
Class ResourceCollection.PagedIterator<E>
java.lang.Object
com.braintreegateway.ResourceCollection.PagedIterator<E>
- All Implemented Interfaces:
- Iterator<E>
- Enclosing class:
- ResourceCollection<T>
private class ResourceCollection.PagedIterator<E>
- extends Object
- implements Iterator<E>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceCollection
private ResourceCollection<E> resourceCollection
ids
private List<String> ids
pageSize
private int pageSize
index
private int index
nextIndexToFetch
private int nextIndexToFetch
items
private List<E> items
ResourceCollection.PagedIterator
public ResourceCollection.PagedIterator(ResourceCollection<E> resourceCollection)
nextBatchOfIds
private List<String> nextBatchOfIds()
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<E>
next
public E next()
- Specified by:
next in interface Iterator<E>
remove
public void remove()
- Specified by:
remove in interface Iterator<E>
Copyright © 2013. All Rights Reserved.