Returns the next element in the internal
iterator, which is separate from any new iterator created by calls
to iterator().
Returns:
the next element in the iteration
getStart
longgetStart()
The start position of this page within all
possible items. For result sets this is the position of the first
result within the result set.
Returns:
the start position
getPageSize
longgetPageSize()
The page size which is the maximum number of
items allowed in one page.
Returns:
the page size
getTotalSize
longgetTotalSize()
The total count (most likely an estimate) of all
possible items in the set. If this number is larger than
getPageSize() then hasNextPage() should be true and you most likely
can retrieve additional pages to get the remaining available items
in the set. For result sets this is the number of items within the
result set. For search result sets this is the estimated number of
matching items. That means you may see this number change as you
paginate through a search result set and the server updates the
estimate with something more accurate.
The count of items in this page, which is always
less than getPageSize(). If (getTotalSize() - getStart()) > getPageSize() then size() ==
getPageSize().
Returns:
the count of items in this page
getTotalPages
longgetTotalPages()
The number of pages covering all possible items.
Since this is calculated based on getTotalSize(), it is often an
estimate just
like getTotalSize(). That means you may see this number change as
you paginate through a search result set and the server updates the
estimate with something more accurate.