Class DefaultPage<T>
java.lang.Object
com.atlassian.jira.plugin.issuetabpanel.DefaultPage<T>
- All Implemented Interfaces:
Page<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic Page<IssueAction> empty()booleanstatic <T> DefaultPage<T> first(Collection<T> coll) inthashCode()booleanIndicates whether the Page is the first one.booleanIndicates whether the Page is the last one.static <T> DefaultPage<T> last(Collection<T> coll) static <T> DefaultPage<T> nth(Collection<T> coll) static <T> DefaultPage<T> only(Collection<T> coll) toString()
-
Method Details
-
first
-
last
-
only
-
nth
-
empty
-
getPageContents
- Specified by:
getPageContentsin interfacePage<T>- Returns:
- An immutable list of elements contained in the Page
-
isFirstPage
public boolean isFirstPage()Description copied from interface:PageIndicates whether the Page is the first one.- Specified by:
isFirstPagein interfacePage<T>- Returns:
- true if the Page contains first elements of the list, false otherwise
-
isLastPage
public boolean isLastPage()Description copied from interface:PageIndicates whether the Page is the last one.- Specified by:
isLastPagein interfacePage<T>- Returns:
- true if the Page contains last elements of the list, false otherwise
-
toString
-
equals
-
hashCode
public int hashCode()
-