T
- the model's type@ConsumerType
public class PageItems<T>
extends java.lang.Object
Page
.Constructor and Description |
---|
PageItems(java.util.Collection<T> items,
int totalCount) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<T> |
getItems()
Returns the page's items.
|
int |
getTotalCount()
Returns the total number of elements in the collection.
|
public PageItems(java.util.Collection<T> items, int totalCount)
public java.util.Collection<T> getItems()
public int getTotalCount()