Package net.sf.basedb.core
Class ItemResultList.ResultListListIterator<T extends BasicItem>
java.lang.Object
net.sf.basedb.core.ItemResultList.ResultListListIterator<T>
- All Implemented Interfaces:
Iterator<T>
,ListIterator<T>
- Enclosing class:
- ItemResultList<I extends BasicItem>
private class ItemResultList.ResultListListIterator<T extends BasicItem>
extends Object
implements ListIterator<T>
Inner class to implement the iterator returned by
the
ItemResultList.listIterator()
method.-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
ResultListListIterator
(ListIterator<? 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
-
ResultListListIterator
-
-
Method Details
-
add
This operation is not supported.- Specified by:
add
in interfaceListIterator<T extends BasicItem>
- Throws:
UnsupportedOperationException
- Always
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<T extends BasicItem>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<T extends BasicItem>
-
previous
- Specified by:
previous
in interfaceListIterator<T extends BasicItem>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<T extends BasicItem>
-
remove
public void remove()This operation is not supported.- Specified by:
remove
in interfaceIterator<T extends BasicItem>
- Specified by:
remove
in interfaceListIterator<T extends BasicItem>
- Throws:
UnsupportedOperationException
- Always
-
set
This operation is not supported.- Specified by:
set
in interfaceListIterator<T extends BasicItem>
- Throws:
UnsupportedOperationException
- Always
-