public class OrderPipe<S> extends AbstractPipe<S,S> implements TransformPipe<S,S>
TransformPipe.OrdercurrentEnd, pathEnabled, startsNO_PATH_MESSAGE| Constructor and Description |
|---|
OrderPipe() |
OrderPipe(PipeFunction<Pair<S,S>,Integer> compareFunction) |
OrderPipe(TransformPipe.Order order) |
| Modifier and Type | Method and Description |
|---|---|
void |
enablePath(boolean enablePath)
Calculating paths can be an expensive operation for some pipes.
|
List |
getCurrentPath()
Returns the transformation path to arrive at the current object of the pipe.
|
S |
processNextStart() |
getPathToHere, hasNext, iterator, next, remove, reset, setStarts, setStarts, setStarts, toStringpublic OrderPipe(PipeFunction<Pair<S,S>,Integer> compareFunction)
public OrderPipe()
public OrderPipe(TransformPipe.Order order)
public void enablePath(boolean enablePath)
PipeenablePath in interface Pipe<S,S>enablePath in class AbstractPipe<S,S>enablePath - enable path calculationspublic S processNextStart()
processNextStart in class AbstractPipe<S,S>public List getCurrentPath()
PipegetCurrentPath in interface Pipe<S,S>getCurrentPath in class AbstractPipe<S,S>Copyright © 2010-2014. All Rights Reserved.