code: @GwtCompatible(serializable = true)
    public static <E> ArrayList<E> newArrayList(Iterator<? extends E> elements) {
      ArrayList<E> list = newArrayList();
      Iterators.addAll(list, elements);
      return list;
    }
docs: Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
  shortcut for creating an empty list and then calling {@link Iterators#addAll}.
  
  <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
  ImmutableList#copyOf(Iterator)} instead.