public class Pipe<T> extends Object
Modifier and Type | Class and Description |
---|---|
class |
Pipe.OutputCollector |
Modifier and Type | Field and Description |
---|---|
LinkedList<T> |
output |
Constructor and Description |
---|
Pipe(Function<T> fun) |
Pipe(Pipe<T> previous,
Function<T> fun) |
Modifier and Type | Method and Description |
---|---|
protected List<T> |
getResults() |
List<T> |
process(T elem)
Performs all the pipeline over the object elem, and returns one
or multiple manipulations of the object elem.
|
protected void |
pushResult(T elem) |
public LinkedList<T> output
Copyright © 2013. All rights reserved.