T - public interface Page<T> extends Slice<T>
| Modifier and Type | Method and Description |
|---|---|
static <T> Page<T> |
empty()
Returns an empty Page.
|
List<T> |
getContent()
Returns the page content as
List. |
long |
getTotalElements()
Returns the total amount of elements.
|
int |
getTotalPages()
Returns the number of total pages.
|
getNumber, getNumberOfElements, getSize, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageableforEach, iterator, spliteratorint getTotalPages()
long getTotalElements()
List<T> getContent()
List.getContent in interface Slice<T>static <T> Page<T> empty()
T - Copyright © 2021. All rights reserved.