public class IfThenElsePipe<S,E> extends AbstractPipe<S,E>
currentEnd, pathEnabled, startsNO_PATH_MESSAGE| Constructor and Description |
|---|
IfThenElsePipe(PipeFunction<S,Boolean> ifFunction,
PipeFunction<S,?> thenFunction,
PipeFunction<S,?> elseFunction) |
| Modifier and Type | Method and Description |
|---|---|
E |
processNextStart() |
void |
reset()
A pipe may maintain state.
|
enablePath, getCurrentPath, getPathToHere, hasNext, iterator, next, remove, setStarts, setStarts, setStarts, toStringpublic IfThenElsePipe(PipeFunction<S,Boolean> ifFunction, PipeFunction<S,?> thenFunction, PipeFunction<S,?> elseFunction)
public E processNextStart()
processNextStart in class AbstractPipe<S,E>public void reset()
PipeCopyright © 2010-2014. All Rights Reserved.