Package org.alfresco.opencmis.search
Class CMISResultSetRowIterator
- java.lang.Object
-
- org.alfresco.opencmis.search.CMISResultSetRowIterator
-
- All Implemented Interfaces:
java.util.Iterator<CMISResultSetRow>,java.util.ListIterator<CMISResultSetRow>
public class CMISResultSetRowIterator extends java.lang.Object implements java.util.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)
-
-
-
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 interfacejava.util.Iterator<CMISResultSetRow>- Specified by:
hasNextin interfacejava.util.ListIterator<CMISResultSetRow>
-
allowsReverse
public boolean allowsReverse()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<CMISResultSetRow>
-
next
public CMISResultSetRow next()
- Specified by:
nextin interfacejava.util.Iterator<CMISResultSetRow>- Specified by:
nextin interfacejava.util.ListIterator<CMISResultSetRow>
-
moveToNextPosition
protected int moveToNextPosition()
-
previous
public CMISResultSetRow previous()
- Specified by:
previousin interfacejava.util.ListIterator<CMISResultSetRow>
-
moveToPreviousPosition
protected int moveToPreviousPosition()
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<CMISResultSetRow>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<CMISResultSetRow>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<CMISResultSetRow>- Specified by:
removein interfacejava.util.ListIterator<CMISResultSetRow>
-
set
public void set(CMISResultSetRow o)
- Specified by:
setin interfacejava.util.ListIterator<CMISResultSetRow>
-
add
public void add(CMISResultSetRow o)
- Specified by:
addin interfacejava.util.ListIterator<CMISResultSetRow>
-
-