Package org.apache.maven.search.request
Class Paging
java.lang.Object
org.apache.maven.search.request.Paging
Paging.
-
Constructor Details
-
Paging
public Paging(int pageSize, int pageOffset) Creates paging instance with given page size (must be greater than 0) and page offset (must be non-negative). -
Paging
public Paging(int pageSize) Creates paging instance with given page size (must be grater than 0) and 0 page offset.
-
-
Method Details
-
getPageSize
public int getPageSize()Returns the page size: positive integer, never zero or less. -
getPageOffset
public int getPageOffset()Returns the page offset: a zero or a positive integer. -
nextPage
Creates "next page" instance relative to this instance. -
toString
-