code: public static <T> ArrayList<T> newArrayList(Iterator<? extends T> elements) {
          return Lists.newArrayList(elements);
      }
docs: Creates a <i>mutable</i> {@code ArrayList} instance containing the given
  elements.
  
  @param elements the elements that the list should contain, in order
  @return a new {@code ArrayList} containing those elements