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>
-
Field Summary
Fields inherited from class org.eclipse.collections.impl.list.immutable.ImmutableIterator
currentIndex, list
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.collections.impl.list.immutable.ImmutableIterator
hasNext, next, remove
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
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
ImmutableListIterator
-
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<T>
-
previous
- Specified by:
previous
in interfaceListIterator<T>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<T>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<T>
-
set
- Specified by:
set
in interfaceListIterator<T>
-
add
- Specified by:
add
in interfaceListIterator<T>
-