public interface Pageable
Modifier and Type | Method and Description |
---|---|
Pageable |
first()
Returns the
Pageable requesting the first page. |
int |
getOffset()
Returns the offset to be taken according to the underlying page and page size.
|
int |
getPageNumber()
Returns the page to be returned.
|
int |
getPageSize()
Returns the number of items to be returned.
|
Sort |
getSort()
Returns the sorting parameters.
|
boolean |
hasPrevious()
Returns whether there's a previous
Pageable we can access from the current one. |
Pageable |
next()
|
Pageable |
previousOrFirst()
|
int getPageNumber()
int getPageSize()
int getOffset()
Sort getSort()
Pageable next()
Pageable previousOrFirst()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.