T
- public interface Page<T> extends Slice<T>
Modifier and Type | Method and Description |
---|---|
long |
getTotalElements()
Returns the total amount of elements.
|
int |
getTotalPages()
Returns the number of total pages.
|
boolean |
hasNextPage()
Deprecated.
use
Slice.hasNext() instead. |
boolean |
hasPreviousPage()
Deprecated.
use
Slice.hasPrevious() instead. |
boolean |
isFirstPage()
Deprecated.
use
Slice.isFirst() instead. |
boolean |
isLastPage()
Deprecated.
use
Slice.isLast() instead. |
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable
forEach, iterator, spliterator
int getTotalPages()
long getTotalElements()
@Deprecated boolean hasPreviousPage()
Slice.hasPrevious()
instead.@Deprecated boolean isFirstPage()
Slice.isFirst()
instead.@Deprecated boolean hasNextPage()
Slice.hasNext()
instead.@Deprecated boolean isLastPage()
Slice.isLast()
instead.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.