Class TreeList.TreeListIterator<E>

java.lang.Object
org.apache.commons.collections4.list.TreeList.TreeListIterator<E>
All Implemented Interfaces:
Iterator<E>, ListIterator<E>, OrderedIterator<E>
Enclosing class:
TreeList<E>

static class TreeList.TreeListIterator<E> extends Object implements ListIterator<E>, OrderedIterator<E>
A list iterator over the linked list.
  • Field Details

    • parent

      private final TreeList<E> parent
      The parent list
    • next

      private TreeList.AVLNode<E> next
      Cache of the next node that will be returned by next().
    • nextIndex

      private int nextIndex
      The index of the next node to be returned.
    • current

      private TreeList.AVLNode<E> current
      Cache of the last node that was returned by next() or previous().
    • currentIndex

      private int currentIndex
      The index of the last node that was returned.
    • expectedModCount

      private int expectedModCount
      The modification count that the list is expected to have. If the list doesn't have this count, then a ConcurrentModificationException may be thrown by the operations.
  • Constructor Details

  • Method Details