Package org.gbif.api.util.iterables
Class CollectionsPager
- All Implemented Interfaces:
Iterable<CollectionView>
Iterates over results of
CollectionService.list(CollectionSearchRequest)
.-
Constructor Summary
ConstructorsConstructorDescriptionCollectionsPager
(CollectionService service, CollectionSearchRequest searchRequest, int pageSize) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CollectionsPager
public CollectionsPager(CollectionService service, CollectionSearchRequest searchRequest, int pageSize)
-
-
Method Details
-
nextPage
- Specified by:
nextPage
in classBasePager<CollectionView>
-