public abstract class AbstractResultSetRowIterator extends Object implements ResultSetRowIterator
Constructor and Description |
---|
AbstractResultSetRowIterator(org.alfresco.service.cmr.search.ResultSet 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()
Does the result set allow reversal?
|
org.alfresco.service.cmr.search.ResultSet |
getResultSet()
Get the underlying result set
|
boolean |
hasNext() |
boolean |
hasPrevious() |
protected int |
moveToNextPosition() |
protected int |
moveToPreviousPosition() |
abstract org.alfresco.service.cmr.search.ResultSetRow |
next() |
int |
nextIndex() |
abstract 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 AbstractResultSetRowIterator(org.alfresco.service.cmr.search.ResultSet resultSet)
resultSet
- ResultSetpublic org.alfresco.service.cmr.search.ResultSet getResultSet()
ResultSetRowIterator
getResultSet
in interface ResultSetRowIterator
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()
ResultSetRowIterator
allowsReverse
in interface ResultSetRowIterator
public boolean hasPrevious()
hasPrevious
in interface ListIterator<org.alfresco.service.cmr.search.ResultSetRow>
public abstract 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 abstract 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.