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, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
-
delegate
-
expectedModCount
int expectedModCount
-
-
Constructor Details
-
DebugIterator
-
DebugIterator
-
-
Method Details
-
add
- Specified by:
addin interfacejava.util.ListIterator<E>
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfacejava.util.ListIterator<E>
-
next
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfacejava.util.ListIterator<E>
-
previous
- Specified by:
previousin interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfacejava.util.ListIterator<E>
-
remove
public void remove() -
set
- Specified by:
setin interfacejava.util.ListIterator<E>
-