public class DepthFirstIterator<T> extends ReadOnlyIterator<T>
ReadOnlyIterator.IterationResult<T>| Constructor and Description |
|---|
DepthFirstIterator(T startingNode,
Func1<T,Enumerable<T>> childrenFn) |
| Modifier and Type | Method and Description |
|---|---|
protected ReadOnlyIterator.IterationResult<T> |
advance() |
hasNext, next, removepublic DepthFirstIterator(T startingNode, Func1<T,Enumerable<T>> childrenFn)
protected ReadOnlyIterator.IterationResult<T> advance() throws Exception
advance in class ReadOnlyIterator<T>ExceptionCopyright © 2010–2015 JBoss by Red Hat. All rights reserved.