Interface Paginated<T>

  • @ExperimentalApi
    public interface Paginated<T>
    Paginated is a containing type that allows consumers to handle paginated data in different ways, depending on their use case. Data can be fetched in single pages, a common use-case that maps well to REST resources. Data can also be obtained via special-purpose iterators.
    See Also:
    PageRequest, PageResponse, PagingIterator
    • Method Detail

      • pagingIterator

        PagingIterator<T> pagingIterator()
        Obtain a PagingIterator, which will yield all possible results in a memory / CPU efficient manner.