public class Pagination<T> extends Object
| Constructor and Description |
|---|
Pagination(int page,
int resultsPerPage,
int totalElements,
Collection<T> elementsOfPage) |
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
getElementsOfPage() |
int |
getNumberOfPages() |
int |
getPage() |
int |
getResultsPerPage() |
int |
getTotalElements() |
public Pagination(int page,
int resultsPerPage,
int totalElements,
Collection<T> elementsOfPage)
public int getPage()
public int getResultsPerPage()
public int getTotalElements()
public int getNumberOfPages()
public Collection<T> getElementsOfPage()
Copyright © 2015 jsolve. All rights reserved.