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.
|
<U> Page<U> |
map(Function<? super T,? extends U> converter)
|
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageableempty, filter, flatMap, of, of, of, streamforEach, iterator, spliteratorint getTotalPages()
long getTotalElements()
<U> Page<U> map(Function<? super T,? extends U> converter)
map in interface Slice<T>map in interface Streamable<T>converter - must not be null.Page with the content of the current one mapped by the given Converter.Stream.map(Function)Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.