public static <T1, T2> BiConsumer<T1, T2> pipeline(BiConsumer<T1, T2> consumer) {
        return new PipelinedBinaryConsumer<T1, T2>(Iterations.iterable(consumer));
    }
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.

@param <T1> the consumer first parameter type
@param <T2> the consumer second parameter type
@param consumer the consumer to be transformed
@return the pipelined consumer