protected static class AbstractPageLayoutActivityHelper.PagingIterator<K>
extends java.lang.Object
implements java.util.Iterator<java.util.List<K>>
Constructor and Description |
---|
AbstractPageLayoutActivityHelper.PagingIterator(int pageSize, java.util.List<K> listToPaginate)
Instantiates an iterator using the pageSize and list specified.
|
AbstractPageLayoutActivityHelper.PagingIterator(java.util.List<K> listToPaginate)
Instantiates an iterator using the list specified.
|
Modifier and Type | Method and Description |
---|---|
boolean | hasNext()
Answers if there are any more pages to return.
|
java.util.List<K> | next()
Returns the list of the elements that belong to the current page.
|
void | remove()
This method throws an UnsupportedOperationException as modifications on the underlying list is prohibited by the iterator.
|
public AbstractPageLayoutActivityHelper.PagingIterator(int pageSize, java.util.List<K> listToPaginate)
public AbstractPageLayoutActivityHelper.PagingIterator(java.util.List<K> listToPaginate)
public boolean hasNext()
public java.util.List<K> next()
public void remove()