Class ImmutableListIterator<T>
- java.lang.Object
-
- org.eclipse.collections.impl.list.immutable.ImmutableIterator<T>
-
- org.eclipse.collections.impl.list.immutable.ImmutableListIterator<T>
-
- All Implemented Interfaces:
Iterator<T>,ListIterator<T>
public final class ImmutableListIterator<T> extends ImmutableIterator<T> implements ListIterator<T>
-
-
Constructor Summary
Constructors Constructor Description ImmutableListIterator(List<T> list, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(T o)booleanhasPrevious()intnextIndex()Tprevious()intpreviousIndex()voidset(T o)-
Methods inherited from class org.eclipse.collections.impl.list.immutable.ImmutableIterator
hasNext, next, remove
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
-
-
-
-
Method Detail
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfaceListIterator<T>
-
previous
public 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
public void set(T o)
- Specified by:
setin interfaceListIterator<T>
-
add
public void add(T o)
- Specified by:
addin interfaceListIterator<T>
-
-