public static < T1 , T2 > BiConsumer < T1 , T2 > pipeline ( BiConsumer < T1 , T2 > consumer ) { return new PipelinedBinaryConsumer < T1 , T2 > ( Iterations . iterable ( consumer ) ) ; }
Creates a pipeline from a binary consumer .