Interface Sequence.Tree.ItemIterator<T>

  • Type Parameters:
    T - Type of object contained in the sequence and the iterator.
    All Superinterfaces:
    java.util.Iterator<T>
    Enclosing class:
    Sequence.Tree<T>

    public static interface Sequence.Tree.ItemIterator<T>
    extends java.util.Iterator<T>
    Nested sequence item iterator interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Sequence.Tree.Path getPath()
      Gets the path within the nested sequence to the item most recently returned by a call to next().
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, hasNext, next, remove
    • Method Detail

      • getPath

        Sequence.Tree.Path getPath()
        Gets the path within the nested sequence to the item most recently returned by a call to next().
        Returns:
        The path (from the root sequence) to the current item.
        Throws:
        java.lang.IllegalStateException - If next() has not yet been called on this iterator.