public class Lists extends Object
Constructor | Description |
---|---|
Lists() |
Modifier and Type | Method | Description |
---|---|---|
static <K> List<K> |
newArrayList() |
|
static <K> List<K> |
newArrayList(int size) |
|
static <K> List<K> |
newArrayList(Collection<K> c) |
|
static <K> List<K> |
newArrayList(K... c) |
|
static <K> LinkedList<K> |
newLinkedList() |
|
static <K> LinkedList<K> |
newLinkedList(Collection<K> c) |
public static <K> List<K> newArrayList()
public static <K> List<K> newArrayList(Collection<K> c)
public static <K> List<K> newArrayList(K... c)
public static <K> List<K> newArrayList(int size)
public static <K> LinkedList<K> newLinkedList()
public static <K> LinkedList<K> newLinkedList(Collection<K> c)