code: public static <E> ArrayList<E> newArrayList(Iterable<? extends E> elements) {
  		return (elements instanceof Collection) ? new ArrayList<E>((Collection<? extends E>)elements)
  				: newArrayList(elements.iterator());
  	}
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