T - the item typepublic class SimplePage<T> extends SimpleSlice<T> implements Page<T>
| Constructor and Description |
|---|
SimplePage(List<T> items,
long index,
long maxSize,
long totalSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getIndex()
Returns the index of the page.
|
long |
getMaxSize()
Returns the maximum size of the page.
|
long |
getTotalSize()
Returns the total size of the list this page is derived from.
|
getItems, getSizepublic long getIndex()
Pagepublic long getMaxSize()
PagegetMaxSize in interface Page<T>public long getTotalSize()
PagegetTotalSize in interface Page<T>Copyright © 2013-2018–2019 SeedStack. All rights reserved.