| Constructor and Description |
|---|
PageImpl(Stream<T> content,
long total,
Pageable pageable) |
| Modifier and Type | Method and Description |
|---|---|
Stream<T> |
getContent()
Returns the page content as
Stream. |
long |
getTotalElements()
Returns the total amount of elements.
|
int |
getTotalPages()
Returns the number of total pages.
|
Pageable |
next() |
public int getTotalPages()
PagegetTotalPages in interface Page<T>public long getTotalElements()
PagegetTotalElements in interface Page<T>public Stream<T> getContent()
PageStream.getContent in interface Page<T>Copyright © 2019. All rights reserved.