Home | History | Annotate | Download | only in collect

Lines Matching refs:ArrayList

19 import java.util.ArrayList;
29 * Creates an empty {@code ArrayList} instance.
34 * @return a newly-created, initially-empty {@code ArrayList}
36 public static <E> ArrayList<E> newArrayList() {
37 return new ArrayList<E>();
41 * Creates a resizable {@code ArrayList} instance containing the given
56 * @return a newly-created {@code ArrayList} containing those elements
58 public static <E> ArrayList<E> newArrayList(E... elements) {
60 ArrayList<E> list = new ArrayList<E>(capacity);