| Package | Description |
|---|---|
| org.nuiton.util.pagination |
This package contains all about pagination :
PaginationParameter to express the input pagination parameters when
preparing a query
PaginationOrder represents an order clause together with asc/desc
PaginationResult represents a list together with the pagination parameters
used to get the list of elements. |
| Modifier and Type | Method and Description |
|---|---|
static <T> PaginationResult<T> |
PaginationResult.of(List<T> elements,
long count,
PaginationParameter currentPage)
Creates an instance using the already computed list of {code}elements{/code} and {code}count{/count}, together
with the {code}currentPage{/code}
PaginationParameter used to build it. |
Copyright © 2004–2014 CodeLutin. All rights reserved.