Package 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>
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>idsprivate intindexprivate List<E>itemsprivate intnextIndexToFetchprivate intpageSizeprivate ResourceCollection<E>resourceCollection
-
Constructor Summary
Constructors Constructor Description PagedIterator(ResourceCollection<E> resourceCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Enext()private List<String>nextBatchOfIds()voidremove()-
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
-
-
-
-
Constructor Detail
-
PagedIterator
public PagedIterator(ResourceCollection<E> resourceCollection)
-
-