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, getSize
public long getIndex()
Page
public long getMaxSize()
Page
getMaxSize
in interface Page<T>
public long getTotalSize()
Page
getTotalSize
in interface Page<T>
Copyright © 2013-2018–2019 SeedStack. All rights reserved.