|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fest.util.Lists
public final class Lists
Utility methods related to java.util.Lists.
| Method Summary | ||
|---|---|---|
static
|
newArrayList(Iterable<? extends T> elements)
Creates a mutable ArrayList containing the given elements. |
|
static
|
newArrayList(T... elements)
Creates a mutable ArrayList containing the given elements. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> ArrayList<T> newArrayList(T... elements)
ArrayList containing the given elements.
T - the generic type of the ArrayList to create.elements - the elements to store in the ArrayList.
ArrayList, of null if the given array of elements is null.public static <T> ArrayList<T> newArrayList(Iterable<? extends T> elements)
ArrayList containing the given elements.
T - the generic type of the ArrayList to create.elements - the elements to store in the ArrayList.
ArrayList, of null if the given Iterable is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||