public class PagingLuceneResultSetRowIteratorImpl extends Object implements ListIterator<ResultSetRow>
| Constructor and Description |
|---|
PagingLuceneResultSetRowIteratorImpl(PagingLuceneResultSet resultSet)
Create an iterator over the result set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(ResultSetRow o) |
boolean |
allowsReverse() |
PagingLuceneResultSet |
getResultSet() |
boolean |
hasNext() |
boolean |
hasPrevious() |
protected int |
moveToNextPosition() |
protected int |
moveToPreviousPosition() |
ResultSetRow |
next() |
int |
nextIndex() |
ResultSetRow |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(ResultSetRow o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic PagingLuceneResultSetRowIteratorImpl(PagingLuceneResultSet resultSet)
resultSet - PagingLuceneResultSetpublic PagingLuceneResultSet getResultSet()
public boolean hasNext()
hasNext in interface Iterator<ResultSetRow>hasNext in interface ListIterator<ResultSetRow>public boolean allowsReverse()
public boolean hasPrevious()
hasPrevious in interface ListIterator<ResultSetRow>public ResultSetRow next()
next in interface Iterator<ResultSetRow>next in interface ListIterator<ResultSetRow>protected int moveToNextPosition()
public ResultSetRow previous()
previous in interface ListIterator<ResultSetRow>protected int moveToPreviousPosition()
public int nextIndex()
nextIndex in interface ListIterator<ResultSetRow>public int previousIndex()
previousIndex in interface ListIterator<ResultSetRow>public void remove()
remove in interface Iterator<ResultSetRow>remove in interface ListIterator<ResultSetRow>public void set(ResultSetRow o)
set in interface ListIterator<ResultSetRow>public void add(ResultSetRow o)
add in interface ListIterator<ResultSetRow>Copyright © 2005–2020 Alfresco Software. All rights reserved.