Package org.datanucleus.store.query
Class CandidateIdsQueryResult.ResultIterator
- java.lang.Object
-
- org.datanucleus.store.query.AbstractQueryResultIterator<E>
-
- org.datanucleus.store.query.CandidateIdsQueryResult.ResultIterator
-
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
- Enclosing class:
- CandidateIdsQueryResult<E>
public class CandidateIdsQueryResult.ResultIterator extends AbstractQueryResultIterator<E>
Iterator for results for this query.
-
-
Constructor Summary
Constructors Constructor Description ResultIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
boolean
hasPrevious()
E
next()
int
nextIndex()
E
previous()
int
previousIndex()
-
Methods inherited from class org.datanucleus.store.query.AbstractQueryResultIterator
add, remove, set
-
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
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<E>
- Specified by:
hasNext
in interfaceListIterator<E>
- Specified by:
hasNext
in classAbstractQueryResultIterator<E>
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator<E>
- Specified by:
hasPrevious
in classAbstractQueryResultIterator<E>
-
next
public E next()
- Specified by:
next
in interfaceIterator<E>
- Specified by:
next
in interfaceListIterator<E>
- Specified by:
next
in classAbstractQueryResultIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator<E>
- Specified by:
nextIndex
in classAbstractQueryResultIterator<E>
-
previous
public E previous()
- Specified by:
previous
in interfaceListIterator<E>
- Specified by:
previous
in classAbstractQueryResultIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator<E>
- Specified by:
previousIndex
in classAbstractQueryResultIterator<E>
-
-