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