Package org.datanucleus.store.query
Class AbstractQueryResultIterator<E>
- java.lang.Object
-
- org.datanucleus.store.query.AbstractQueryResultIterator<E>
-
- Type Parameters:
E- Type of element returned by this iterator
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
- Direct Known Subclasses:
CandidateIdsQueryResult.ResultIterator
public abstract class AbstractQueryResultIterator<E> extends Object implements ListIterator<E>
Abstract implementation of an iterator for query results. Can be used as the base class for an iterator for the implementation of AbstractQueryResult.
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryResultIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidadd(Object arg0)abstract booleanhasNext()abstract booleanhasPrevious()abstract Enext()abstract intnextIndex()abstract Eprevious()abstract intpreviousIndex()voidremove()voidset(Object arg0)-
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
-
add
public void add(Object arg0)
- Specified by:
addin interfaceListIterator<E>
-
hasNext
public abstract boolean hasNext()
-
hasPrevious
public abstract boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<E>
-
next
public abstract E next()
-
nextIndex
public abstract int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<E>
-
previous
public abstract E previous()
- Specified by:
previousin interfaceListIterator<E>
-
previousIndex
public abstract int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<E>
-
remove
public void remove()
-
set
public void set(Object arg0)
- Specified by:
setin interfaceListIterator<E>
-
-