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 voidadd(VIEW e)booleanhasNext()booleanhasPrevious()VIEWnext()intnextIndex()VIEWprevious()intpreviousIndex()voidremove()voidset(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:
hasPreviousin interfaceListIterator<VIEW>
-
previous
public VIEW previous()
- Specified by:
previousin interfaceListIterator<VIEW>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfaceListIterator<VIEW>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfaceListIterator<VIEW>
-
remove
public void remove()
-
set
public void set(VIEW e)
- Specified by:
setin interfaceListIterator<VIEW>
-
add
public void add(VIEW e)
- Specified by:
addin interfaceListIterator<VIEW>
-
-