Class MutableListIterator<T>
java.lang.Object
org.eclipse.collections.impl.list.mutable.MutableIterator<T>
org.eclipse.collections.impl.list.mutable.MutableListIterator<T>
- All Implemented Interfaces:
Iterator<T>,ListIterator<T>
public final class MutableListIterator<T> extends MutableIterator<T> implements ListIterator<T>
-
Constructor Summary
Constructors Constructor Description MutableListIterator(List<T> list, int index) -
Method Summary
Modifier and Type Method Description voidadd(T o)booleanhasPrevious()intnextIndex()Tprevious()intpreviousIndex()voidset(T o)Methods inherited from class org.eclipse.collections.impl.list.mutable.MutableIterator
hasNext, next, remove
-
Constructor Details
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<T>
-
previous
- Specified by:
previousin interfaceListIterator<T>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<T>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<T>
-
set
- Specified by:
setin interfaceListIterator<T>
-
add
- Specified by:
addin interfaceListIterator<T>
-