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