Package org.gbif.api.util.iterables
Class CollectionsPager
- java.lang.Object
-
- org.gbif.api.util.iterables.BasePager<CollectionView>
-
- org.gbif.api.util.iterables.CollectionsPager
-
- All Implemented Interfaces:
Iterable<CollectionView>
public class CollectionsPager extends BasePager<CollectionView>
Iterates over results ofCollectionService.list(CollectionSearchRequest)
.
-
-
Constructor Summary
Constructors Constructor Description CollectionsPager(CollectionService service, CollectionSearchRequest searchRequest, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingResponse<CollectionView>
nextPage(PagingRequest page)
-
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 Detail
-
CollectionsPager
public CollectionsPager(CollectionService service, CollectionSearchRequest searchRequest, int pageSize)
-
-
Method Detail
-
nextPage
public PagingResponse<CollectionView> nextPage(PagingRequest page)
- Specified by:
nextPage
in classBasePager<CollectionView>
-
-