Package org.alfresco.opencmis.search
Class CMISResultSetRowIterator
java.lang.Object
org.alfresco.opencmis.search.CMISResultSetRowIterator
- All Implemented Interfaces:
Iterator<CMISResultSetRow>,ListIterator<CMISResultSetRow>
- Author:
- andyh
-
Constructor Summary
ConstructorsConstructorDescriptionCMISResultSetRowIterator(CMISResultSet resultSet) Create an iterator over the result set. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CMISResultSetRowIterator
Create an iterator over the result set. Follows stadard ListIterator conventions- Parameters:
resultSet- CMISResultSet
-
-
Method Details
-
getResultSet
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<CMISResultSetRow>- Specified by:
hasNextin interfaceListIterator<CMISResultSetRow>
-
allowsReverse
public boolean allowsReverse() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<CMISResultSetRow>
-
next
- Specified by:
nextin interfaceIterator<CMISResultSetRow>- Specified by:
nextin interfaceListIterator<CMISResultSetRow>
-
moveToNextPosition
protected int moveToNextPosition() -
previous
- Specified by:
previousin interfaceListIterator<CMISResultSetRow>
-
moveToPreviousPosition
protected int moveToPreviousPosition() -
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<CMISResultSetRow>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<CMISResultSetRow>
-
remove
public void remove()- Specified by:
removein interfaceIterator<CMISResultSetRow>- Specified by:
removein interfaceListIterator<CMISResultSetRow>
-
set
- Specified by:
setin interfaceListIterator<CMISResultSetRow>
-
add
- Specified by:
addin interfaceListIterator<CMISResultSetRow>
-