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