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 void
add(Object arg0)
abstract boolean
hasNext()
abstract boolean
hasPrevious()
abstract E
next()
abstract int
nextIndex()
abstract E
previous()
abstract int
previousIndex()
void
remove()
void
set(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:
add
in interfaceListIterator<E>
-
hasNext
public abstract boolean hasNext()
-
hasPrevious
public abstract boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator<E>
-
next
public abstract E next()
-
nextIndex
public abstract int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator<E>
-
previous
public abstract E previous()
- Specified by:
previous
in interfaceListIterator<E>
-
previousIndex
public abstract int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator<E>
-
remove
public void remove()
-
set
public void set(Object arg0)
- Specified by:
set
in interfaceListIterator<E>
-
-