public final class Lists extends Object
Modifier and Type | Method and Description |
---|---|
static <K> List<K> |
newArrayList() |
static <K> List<K> |
newArrayList(Collection<K> c) |
static <K> List<K> |
newArrayList(int size) |
static <K> List<K> |
newArrayList(K... elements) |
static <K> List<K> |
newLinkedList() |
static <K> List<K> |
newLinkedList(Collection<K> c) |
public static <K> List<K> newArrayList()
public static <K> List<K> newLinkedList()
public static <K> List<K> newLinkedList(Collection<K> c)
public static <K> List<K> newArrayList(Collection<K> c)
public static <K> List<K> newArrayList(K... elements)
public static <K> List<K> newArrayList(int size)
Copyright © 2024. All rights reserved.