Package aQute.lib.unmodifiable
Class ImmutableListIterator<E>
java.lang.Object
aQute.lib.unmodifiable.ImmutableIterator<E>
aQute.lib.unmodifiable.ImmutableListIterator<E>
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
-
Field Summary
Fields inherited from class aQute.lib.unmodifiable.ImmutableIterator
elements, index
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableListIterator
(E[] elements) ImmutableListIterator
(E[] elements, int index) -
Method Summary
Methods inherited from class aQute.lib.unmodifiable.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
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator<E>
-
previous
- Specified by:
previous
in interfaceListIterator<E>
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator<E>
-
set
- Specified by:
set
in interfaceListIterator<E>
-
add
- Specified by:
add
in interfaceListIterator<E>
-