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