public class TreePipe<S> extends AbstractPipe<S,S> implements SideEffectPipe.GreedySideEffectPipe<S,Map>
SideEffectPipe.GreedySideEffectPipe<S,T>, SideEffectPipe.LazySideEffectPipe<S,T>currentEnd, pathEnabled, startsNO_PATH_MESSAGE| Constructor and Description |
|---|
TreePipe(PipeFunction... branchFunctions) |
TreePipe(Tree tree,
PipeFunction... branchFunctions) |
| Modifier and Type | Method and Description |
|---|---|
Map |
getSideEffect() |
S |
processNextStart() |
void |
reset()
A pipe may maintain state.
|
void |
setStarts(Iterator<S> starts)
Set an iterator of S objects to the head (start) of the pipe.
|
enablePath, getCurrentPath, getPathToHere, hasNext, iterator, next, remove, setStarts, setStarts, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenablePath, getCurrentPath, setStartspublic TreePipe(PipeFunction... branchFunctions)
public TreePipe(Tree tree, PipeFunction... branchFunctions)
public void setStarts(Iterator<S> starts)
Pipepublic S processNextStart()
processNextStart in class AbstractPipe<S,S>public Map getSideEffect()
getSideEffect in interface SideEffectPipe<S,Map>public void reset()
PipeCopyright © 2010-2014. All Rights Reserved.