Package org.apache.maven.internal.xml
Class ImmutableCollections.AbstractImmutableList.Itr
java.lang.Object
org.apache.maven.internal.xml.ImmutableCollections.AbstractImmutableList.Itr
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
- Enclosing class:
ImmutableCollections.AbstractImmutableList<E>
private class ImmutableCollections.AbstractImmutableList.Itr
extends Object
implements ListIterator<E>
-
Field Details
-
index
int index
-
-
Constructor Details
-
Itr
private Itr(int index)
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
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>
-
remove
public void remove() -
set
- Specified by:
setin interfaceListIterator<E>
-
add
- Specified by:
addin interfaceListIterator<E>
-