Package org.apache.felix.framework.util
Class ImmutableList.ListItr
- java.lang.Object
-
- org.apache.felix.framework.util.ImmutableList.ListItr
-
- All Implemented Interfaces:
java.util.Iterator<E>,java.util.ListIterator<E>
- Enclosing class:
- ImmutableList<E>
private class ImmutableList.ListItr extends java.lang.Object implements java.util.ListIterator<E>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intcursor
-
Constructor Summary
Constructors Modifier Constructor Description privateListItr(int cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(E e)booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()voidremove()voidset(E e)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public E next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<E>
-
remove
public void remove()
-
-