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
-
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
-
set
- Specified by:
setin interfaceListIterator<E>
-
add
- Specified by:
addin interfaceListIterator<E>
-