Class TreeList.TreeListIterator

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

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

    • parent

      protected final TreeList parent
      The parent list
    • next

      protected TreeList.AVLNode next
      Cache of the next node that will be returned by next().
    • nextIndex

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

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

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

      protected 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