java.lang.Object | |
↳ | com.atlassian.bitbucket.util.PageImpl<T> |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a page from the provided
values and explicitly sets getIsLastPage() . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a map of the page values mapped by their ordinal values.
| |||||||||||
Transforms the page from a page of Ts to a page of Es
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.bitbucket.util.Page
|
Creates a page from the provided values
and explicitly sets getIsLastPage()
and
size
. The next PageRequest
will be inferred from the
start
and limit
of the provided
PageRequest
.
pageRequest | the page request used to create this page |
---|---|
size | the size of the page - i.e. the number of elements in this page |
values | an iterable of the values |
lastPage | if this is the last page |
Creates a page from the provided values
and explicitly sets getIsLastPage()
and
size
. The next PageRequest
will start from the specified
nextPageStart
, with the same limit
as the provided PageRequest
.
pageRequest | the page request used to create this page |
---|---|
values | an iterable of the values |
lastPage | if this is the last page |
size | the size of the page - i.e. the number of elements in this page |
nextPageStart | index of the element that will be the first in the next page |
Creates a page from the provided values
and explicitly sets getIsLastPage()
.
pageRequest | the page request used to create this page |
---|---|
values | an iterable of the values |
lastPage | if this is the last page |
Get a map of the page values mapped by their ordinal values. For filtered pages, the ordinals are the ordinals in the underlying paged collection.
Transforms the page from a page of Ts to a page of Es
transformFunction | the transformer |
---|