org.datanucleus.store.query
Class AbstractQueryResultIterator
java.lang.Object
org.datanucleus.store.query.AbstractQueryResultIterator
- All Implemented Interfaces:
- java.util.Iterator, java.util.ListIterator
- Direct Known Subclasses:
- CandidateIdsQueryResult.ResultIterator
public abstract class AbstractQueryResultIterator
- extends java.lang.Object
- implements java.util.ListIterator
Abstract implementation of an iterator for query results.
Can be used as the base class for an iterator for the implementation of AbstractQueryResult.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALISER
protected static final Localiser LOCALISER
- Localiser for messages.
AbstractQueryResultIterator
public AbstractQueryResultIterator()
- Constructor.
add
public void add(java.lang.Object arg0)
- Specified by:
add in interface java.util.ListIterator
hasNext
public abstract boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator- Specified by:
hasNext in interface java.util.ListIterator
hasPrevious
public abstract boolean hasPrevious()
- Specified by:
hasPrevious in interface java.util.ListIterator
next
public abstract java.lang.Object next()
- Specified by:
next in interface java.util.Iterator- Specified by:
next in interface java.util.ListIterator
nextIndex
public abstract int nextIndex()
- Specified by:
nextIndex in interface java.util.ListIterator
previous
public abstract java.lang.Object previous()
- Specified by:
previous in interface java.util.ListIterator
previousIndex
public abstract int previousIndex()
- Specified by:
previousIndex in interface java.util.ListIterator
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator- Specified by:
remove in interface java.util.ListIterator
set
public void set(java.lang.Object arg0)
- Specified by:
set in interface java.util.ListIterator
Copyright © 2011. All Rights Reserved.