public class PaginatedResult<T> extends Object
| Constructor and Description |
|---|
PaginatedResult(List<T> data,
int totalCount,
boolean hasMore)
Creates a PaginatedResult.
|
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getData()
Returns the current 'page' of data.
|
int |
getTotalCount()
Returns the total number of related items.
|
boolean |
hasMore()
Returns whether or not there are more pages of related items.
|