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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iterator
private final Iterator<? extends BasicData> iterator
itemClass
private final Class<T extends BasicItem> itemClass
ItemResultList.ResultListIterator
private ItemResultList.ResultListIterator(Iterator<? extends BasicData> iterator,
Class<T> itemClass)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T extends BasicItem>
next
public T next()
- Specified by:
next
in interface Iterator<T extends BasicItem>
remove
public void remove()
- This operation is not supported.
- Specified by:
remove
in interface Iterator<T extends BasicItem>
- Throws:
UnsupportedOperationException
- Always