Package org.alfresco.opencmis.search
Class CMISResultSetRowIterator
- java.lang.Object
-
- org.alfresco.opencmis.search.CMISResultSetRowIterator
-
- All Implemented Interfaces:
Iterator<CMISResultSetRow>,ListIterator<CMISResultSetRow>
public class CMISResultSetRowIterator extends Object implements ListIterator<CMISResultSetRow>
- Author:
- andyh
-
-
Constructor Summary
Constructors Constructor Description CMISResultSetRowIterator(CMISResultSet resultSet)Create an iterator over the result set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(CMISResultSetRow o)booleanallowsReverse()CMISResultSetgetResultSet()booleanhasNext()booleanhasPrevious()protected intmoveToNextPosition()protected intmoveToPreviousPosition()CMISResultSetRownext()intnextIndex()CMISResultSetRowprevious()intpreviousIndex()voidremove()voidset(CMISResultSetRow o)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
CMISResultSetRowIterator
public CMISResultSetRowIterator(CMISResultSet resultSet)
Create an iterator over the result set. Follows stadard ListIterator conventions- Parameters:
resultSet- CMISResultSet
-
-
Method Detail
-
getResultSet
public CMISResultSet 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
public CMISResultSetRow next()
- Specified by:
nextin interfaceIterator<CMISResultSetRow>- Specified by:
nextin interfaceListIterator<CMISResultSetRow>
-
moveToNextPosition
protected int moveToNextPosition()
-
previous
public CMISResultSetRow 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
public void set(CMISResultSetRow o)
- Specified by:
setin interfaceListIterator<CMISResultSetRow>
-
add
public void add(CMISResultSetRow o)
- Specified by:
addin interfaceListIterator<CMISResultSetRow>
-
-