Package org.jboss.weld.util.collections
Class ListView.ListViewIterator
- java.lang.Object
-
- org.jboss.weld.util.collections.ListView.ListViewIterator
-
- All Implemented Interfaces:
Iterator<VIEW>
,ListIterator<VIEW>
protected class ListView.ListViewIterator extends Object implements ListIterator<VIEW>
-
-
Field Summary
Fields Modifier and Type Field Description protected ListIterator<SOURCE>
delegate
-
Constructor Summary
Constructors Constructor Description ListViewIterator(ListIterator<SOURCE> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(VIEW e)
boolean
hasNext()
boolean
hasPrevious()
VIEW
next()
int
nextIndex()
VIEW
previous()
int
previousIndex()
void
remove()
void
set(VIEW e)
-
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 Detail
-
delegate
protected final ListIterator<SOURCE> delegate
-
-
Constructor Detail
-
ListViewIterator
public ListViewIterator(ListIterator<SOURCE> delegate)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public VIEW next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator<VIEW>
-
previous
public VIEW previous()
- Specified by:
previous
in interfaceListIterator<VIEW>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator<VIEW>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator<VIEW>
-
remove
public void remove()
-
set
public void set(VIEW e)
- Specified by:
set
in interfaceListIterator<VIEW>
-
add
public void add(VIEW e)
- Specified by:
add
in interfaceListIterator<VIEW>
-
-