public interface CBRPageIterator<T> extends RMPageIterator<T>
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
getNextPage()
Returns the contents of the iterator's current page.
|
java.util.List<T> |
getPrevPage()
Returns the contents of the iterator's previous page.
|
boolean |
hasNextPage()
Moves the iterator to the next page of the collection.
|
boolean |
hasPrevPage()
Moves the iterator to the previous page of the collection.
|
getCurrentPage, getElementCount, getPageMark, getPageSize, nextPage, reset, reset, setPageSize
boolean hasNextPage()
true
until the iterator reaches the end of the collection.
The interface returns false
on the initial call of an empty collection.boolean hasPrevPage()
true
until the iterator reaches the start of the collection.java.util.List<T> getNextPage()
List
of the parameterized type.java.util.List<T> getPrevPage()
List
of the parameterized type.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.