Paged

constructor(page: Page<A>)(source)

Constructor to build a Paged from a Spring Page

Parameters

page

Page


constructor(data: List<A>, pageable: Pageable)(source)

Constructor to build a Paged from a list of data, applying given pagination

Parameters

data

Data to page

pageable

Requested pagination info


constructor(data: List<A>, page: Int, perPage: Int, totalPages: Int)(source)

Parameters

A

Type of the data in this page