public class SideEffectCapPipe<S,T> extends AbstractMetaPipe<S,T> implements MetaPipe, TransformPipe<S,T>
TransformPipe.OrdercurrentEnd, pathEnabled, startsNO_PATH_MESSAGE| Constructor and Description |
|---|
SideEffectCapPipe(SideEffectPipe<S,T> pipeToCap) |
| Modifier and Type | Method and Description |
|---|---|
List |
getCurrentPath()
Returns the transformation path to arrive at the current object of the pipe.
|
List<Pipe> |
getPipes() |
protected T |
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.
|
String |
toString() |
enablePathgetPathToHere, hasNext, iterator, next, remove, setStarts, setStartsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenablePath, setStartspublic SideEffectCapPipe(SideEffectPipe<S,T> pipeToCap)
public void setStarts(Iterator<S> starts)
Pipeprotected T processNextStart()
processNextStart in class AbstractPipe<S,T>public List getCurrentPath()
PipegetCurrentPath in interface Pipe<S,T>getCurrentPath in class AbstractPipe<S,T>public String toString()
toString in class AbstractPipe<S,T>public void reset()
PipeCopyright © 2010-2014. All Rights Reserved.