public static interface OffsetPager.Page<ElementT>
Modifier and Type | Method and Description |
---|---|
List<ElementT> |
getElements()
The elements in the page.
|
int |
getPageNumber()
The page number (1 for the first page, 2 for the second page, etc).
|
boolean |
isLast()
Whether this is the last page in the result set.
|
int getPageNumber()
Note that it may be different than the number you passed to OffsetPager.getPage(PagingIterable, int)
: if the result set was too short, this is the actual number of
the last page.
boolean isLast()
Copyright © 2017–2024. All rights reserved.