public class PaginatedResult<T> extends Object
Modifier and Type | Field and Description |
---|---|
private List<T> |
currentPage |
private int |
pageSize |
private int |
totalItems |
Constructor and Description |
---|
PaginatedResult(int totalItems,
int pageSize,
List<T> currentPage) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getCurrentPage() |
int |
getPageSize() |
int |
getTotalItems() |
Copyright © 2013-2017. All Rights Reserved.