Home | History | Annotate | Download | only in collect

Lines Matching defs:list

23  * Provides static methods for creating {@code List} instances easily, and other
31 * <p><b>Note:</b> if you only need an <i>immutable</i> empty List, use
47 * <p>{@code List<Base> list = Lists.newArrayList(sub1, sub2);}
53 * <p>{@code List<Base> list = Lists.<Base>newArrayList(sub1, sub2);}
55 * @param elements the elements that the list should contain, in order
60 ArrayList<E> list = new ArrayList<E>(capacity);
61 Collections.addAll(list, elements);
62 return list;