| Modifier and Type | Method and Description | 
|---|---|
| static <E> ArrayList<E> | newArrayList()Creates a new  ArrayList. | 
| static <E> ArrayList<E> | newArrayList(Iterator<? extends E> iterator)Creates a new  ArrayListfilled with the contents of the giveniterator. | 
public static <E> ArrayList<E> newArrayList()
ArrayList.E - type of elements contained in new listArrayListpublic static <E> ArrayList<E> newArrayList(Iterator<? extends E> iterator)
ArrayList filled with the contents of the given
 iterator.E - type of elements contained in new listiterator - the source iteratorArrayListCopyright © 2018 The Apache Software Foundation. All rights reserved.