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