org.apache.pivot.collections
Interface Sequence.Tree.ItemIterator<T>

All Superinterfaces:
Iterator<T>
Enclosing class:
Sequence.Tree<T>

public static interface Sequence.Tree.ItemIterator<T>
extends Iterator<T>

Nested sequence item iterator interface.


Method Summary
 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
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:
IllegalStateException - If next() has not yet been called on this iterator.