Package aQute.bnd.unmodifiable
Class ImmutableListIterator<E>
java.lang.Object
aQute.bnd.unmodifiable.ImmutableIterator<E>
aQute.bnd.unmodifiable.ImmutableListIterator<E>
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
-
Field Summary
Fields inherited from class aQute.bnd.unmodifiable.ImmutableIterator
elements, index -
Constructor Summary
ConstructorsConstructorDescriptionImmutableListIterator(Object[] elements) ImmutableListIterator(Object[] elements, int index) -
Method Summary
Methods inherited from class aQute.bnd.unmodifiable.ImmutableIterator
forEachRemaining, hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
Method Details
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<E>
-
previous
- Specified by:
previousin interfaceListIterator<E>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<E>
-
set
- Specified by:
setin interfaceListIterator<E>
-
add
- Specified by:
addin interfaceListIterator<E>
-