Package org.apache.pivot.collections
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 tonext()
.
-
-
-
Method Detail
-
getPath
Sequence.Tree.Path getPath()
Gets the path within the nested sequence to the item most recently returned by a call tonext()
.- Returns:
- The path (from the root sequence) to the current item.
- Throws:
java.lang.IllegalStateException
- Ifnext()
has not yet been called on this iterator.
-
-