| 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
ArrayList filled with the contents of the given
iterator. |
public static <E> ArrayList<E> newArrayList()
ArrayList.ArrayListpublic static <E> ArrayList<E> newArrayList(Iterator<? extends E> iterator)
ArrayList filled with the contents of the given
iterator.iterator - the source iteratorArrayListCopyright © 2016 The Apache Software Foundation. All rights reserved.