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.
|
<S> Page<S> |
map(org.springframework.core.convert.converter.Converter<? super T,? extends S> converter)
Returns a new
Page with the content of the current one mapped by the given Converter . |
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable
forEach, iterator, spliterator
int getTotalPages()
long getTotalElements()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.