public class CollectUtil extends Object
| Constructor and Description |
|---|
CollectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> ArrayList<T> |
newList() |
static <T> ArrayList<T> |
newList(Collection<T> collect) |
static <T> ArrayList<T> |
newList(int size) |
static <T> HashSet<T> |
newSet() |
static <T> HashSet<T> |
newSet(Collection<T> collect) |
static <T> HashSet<T> |
newSet(int size) |
public static <T> ArrayList<T> newList()
public static <T> ArrayList<T> newList(int size)
public static <T> ArrayList<T> newList(Collection<T> collect)
public static <T> HashSet<T> newSet()
public static <T> HashSet<T> newSet(int size)
public static <T> HashSet<T> newSet(Collection<T> collect)
Copyright © 2017. All rights reserved.