Package net.sf.basedb.core
Class ItemResultList.ResultListIterator<T extends BasicItem>
java.lang.Object
net.sf.basedb.core.ItemResultList.ResultListIterator<T>
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
- ItemResultList<I extends BasicItem>
private class ItemResultList.ResultListIterator<T extends BasicItem> extends Object implements Iterator<T>
Inner class to implement the iterator returned by
the
ItemResultList.iterator()
method.-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
ResultListIterator(Iterator<? extends BasicData> iterator, Class<T> itemClass)
-
Method Summary
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
-
Field Details
-
iterator
-
itemClass
-
-
Constructor Details
-
ResultListIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()This operation is not supported.- Specified by:
remove
in interfaceIterator<T extends BasicItem>
- Throws:
UnsupportedOperationException
- Always
-