Package org.apache.maven.api.settings
Class ImmutableCollections.AbstractImmutableList.Itr
java.lang.Object
org.apache.maven.api.settings.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:
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>
-
remove
public void remove() -
set
- Specified by:
set
in interfaceListIterator<E>
-
add
- Specified by:
add
in interfaceListIterator<E>
-