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

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