Package-level declarations
Types
An iterable that lazily fetches items from a paginated data source. It creates a PaginatedIterator that automatically fetches pages as needed.
An iterator that lazily fetches items from a paginated data source. It automatically fetches the next page when the current page is exhausted.
Functions
Executes block for each page in a paginated sequence, automatically moving to the next page until an empty page or the last page is reached. Uses current page pagination logic.
Executes block for each page in a paginated sequence. The paginationMapper determines the next pagination to use based on the current result. Stops when paginationMapper returns null.
Alias for doAllWithCurrentPaging. Executes block for each page in a paginated sequence.
Executes block for each page in a paginated sequence, automatically moving to the next page until an empty page or the last page is reached.
Retrieves all items from a paginated source by repeatedly calling block with different pagination parameters. The paginationMapper determines the next pagination to use based on the current result.
Retrieves all items from a paginated source using a receiver context. This is useful when the pagination logic depends on the receiver object's state.
Retrieves all items from a paginated source using a receiver context, automatically moving to the next page until an empty page or the last page is reached. Uses current page pagination logic.
Retrieves all items from a paginated source using a receiver context, automatically moving to the next page until an empty page or the last page is reached.
Retrieves all items from a paginated source, automatically moving to the next page until an empty page or the last page is reached. Uses current page pagination logic.
Retrieves all items from a paginated source, automatically moving to the next page until an empty page or the last page is reached.
Creates an Iterable that lazily fetches items from a paginated data source. This is useful for iterating over large datasets without loading all items into memory at once.
Paginates this Iterable according to the given Pagination parameters. Returns a PaginationResult containing the items within the specified page range.
Paginates this List according to the given Pagination parameters. Returns a PaginationResult containing the items within the specified page range. More efficient than the Iterable version as it uses direct indexing.
Paginates this Set according to the given Pagination parameters. Returns a PaginationResult containing the items within the specified page range.
Paginates this List according to the given Pagination parameters, optionally in reverse order.
Paginates this Set according to the given Pagination parameters, optionally in reverse order.
Shortcut for reverse
Example: