T - the type of elements in this listCollection<T>, Iterable<T>, List<T>PagedArrayListpublic interface PagedList<T> extends List<T>
| Modifier and Type | Field | Description |
|---|---|---|
static PagedList |
EMPTY |
An empty paged list.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getFirstResult() |
Returns the position of the first result, numbered from 0.
|
KeysetPage |
getKeysetPage() |
Returns the key set page for this paged list which can be used for key set pagination.
|
int |
getMaxResults() |
Returns the maximum number of results.
|
int |
getPage() |
Returns the number of this page, numbered from 1.
|
int |
getSize() |
Returns the actual size of this page.
|
int |
getTotalPages() |
Returns the number of total pages.
|
long |
getTotalSize() |
Returns the total size of the list or
-1 if the count query was disabled via PaginatedCriteriaBuilder.withCountQuery(boolean). |
parallelStream, removeIf, streamadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, of, of, of, of, of, of, of, of, of, of, of, of, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArraystatic final PagedList EMPTY
int getSize()
List.size()long getTotalSize()
-1 if the count query was disabled via PaginatedCriteriaBuilder.withCountQuery(boolean).-1 if the count query was disabledint getPage()
int getTotalPages()
int getFirstResult()
-1;-1 if the queried entity id does not existint getMaxResults()
KeysetPage getKeysetPage()
FullQueryBuilder.page(com.blazebit.persistence.KeysetPage, int, int)Copyright © 2014–2020 Blazebit. All rights reserved.