code: public static <T> Consumer<T> pipeline(Consumer<T>... actions) {
          return new PipelinedConsumer<T>(Iterations.iterable(actions));
      }
docs: Creates a pipeline from an array of actions.
  
  @param <T> the consumer parameter type
  @param actions the array of actions to be transformed
  @return the pipelined consumer