code: public static <E> List<E> all(Iterable<E> iterable) {
          dbc.precondition(iterable != null, "cannot call all with a null iterable");
          final Function<Iterator<E>, ArrayList<E>> consumer = new ConsumeIntoCollection<>(new ArrayListFactory<E>());
          return consumer.apply(iterable.iterator());
      }
docs: Yields all elements of the iterable's iterator (in a list).
  
  @param <E> the iterable element type
  @param iterable the iterable that will be consumed
  @return a list filled with iterable values