Package org.pathvisio.libgpml.debug
Class DebugList.DebugIterator<E>
java.lang.Object
org.pathvisio.libgpml.debug.DebugList.DebugIterator<E>
- All Implemented Interfaces:
java.util.Iterator<E>
,java.util.ListIterator<E>
public static class DebugList.DebugIterator<E>
extends java.lang.Object
implements java.util.ListIterator<E>
An iterator to go with the DebugList. This is the normal iterator for
DebugLists, the next() method checks for concurrent modification and throws a
ConcurrentModificationException with the last modification point as the
cause.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DebugIterator(DebugList<E> aParent)
DebugIterator(DebugList<E> aParent, int start)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
-
delegate
-
expectedModCount
int expectedModCount
-
-
Constructor Details
-
DebugIterator
-
DebugIterator
-
-
Method Details
-
add
- Specified by:
add
in interfacejava.util.ListIterator<E>
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfacejava.util.ListIterator<E>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfacejava.util.ListIterator<E>
-
previous
- Specified by:
previous
in interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfacejava.util.ListIterator<E>
-
remove
public void remove() -
set
- Specified by:
set
in interfacejava.util.ListIterator<E>
-