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:
java.util.Iterator<T>
,java.util.ListIterator<T>
public final class MutableListIterator<T> extends MutableIterator<T> implements java.util.ListIterator<T>
-
-
Field Summary
-
Fields inherited from class org.eclipse.collections.impl.list.mutable.MutableIterator
currentIndex, lastIndex, list
-
-
Constructor Summary
Constructors Constructor Description MutableListIterator(java.util.List<T> list, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(T o)
boolean
hasPrevious()
int
nextIndex()
T
previous()
int
previousIndex()
void
set(T o)
-
Methods inherited from class org.eclipse.collections.impl.list.mutable.MutableIterator
hasNext, next, remove
-
-
-
-
Constructor Detail
-
MutableListIterator
public MutableListIterator(java.util.List<T> list, int index)
-
-
Method Detail
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator<T>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<T>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<T>
-
-