public class CollectionUtils extends Object
| Constructor and Description |
|---|
CollectionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNullOrEmpty(Collection<?> c) |
static <T> List<T> |
list(T... args) |
static <K,V> Map<K,V> |
map(K key,
V val) |
static <T> Set<T> |
set(String args,
Function<String,T> f) |
static <T> Set<T> |
set(T... args) |
static String |
toString(Collection<?> list) |
public static String toString(Collection<?> list)
public static boolean isNullOrEmpty(Collection<?> c)
@SafeVarargs public static <T> List<T> list(T... args)
@SafeVarargs public static <T> Set<T> set(T... args)
public static <K,V> Map<K,V> map(K key, V val)
Copyright © 2019. All rights reserved.