Package com.atlassian.jira.util
Interface Page<T>
public interface Page<T>
A single page of values.
- Since:
- 6.4.7
-
Method Summary
-
Method Details
-
getStart
long getStart()- Returns:
- the offset into the overall results set this page starts at (0 based).
-
getSize
int getSize()- Returns:
- the number of results in this 'page' of results.
-
getTotal
- Returns:
- the total number of requested entities. This information might not be available, in this case
null
is returned.
-
getValues
- Returns:
- a list of the values on this page. Each service returning a page should specify the ordering on the list
-
isLast
boolean isLast()- Returns:
- true if this is the last page, i.e. if the page with
start = this.getStart + this.getSize
would be empty.
-