Package org.apache.felix.framework.util
Class ImmutableList.ListItr
java.lang.Object
org.apache.felix.framework.util.ImmutableList.ListItr
- All Implemented Interfaces:
Iterator<E>
,ListIterator<E>
- Enclosing class:
ImmutableList<E>
-
Field Details
-
cursor
int cursor
-
-
Constructor Details
-
ListItr
private ListItr(int cursor)
-
-
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>
-