Page |
Page.first() |
Returns a new page with the first page index (0) and the same size, or this page if it is the first page.
|
Page |
Page.index(int newIndex) |
Returns a new page at the given page index and the same size, or this page if the page index is the same.
|
Page |
Page.next() |
Returns a new page with the next page index and the same size.
|
static Page |
Page.of(int index,
int size) |
Builds a page of the given index and size.
|
static Page |
Page.ofSize(int size) |
Builds a page of the given size.
|
Page |
Page.previous() |
Returns a new page with the previous page index and the same size, or this page if it is the first page.
|