public class CollectionUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> boolean |
isEmpty(Collection<T> col) |
static <K,V> boolean |
isEmpty(Map<K,V> map) |
static <T> boolean |
isNotEmpty(Collection<T> col) |
static <K,V> boolean |
isNotEmpty(Map<K,V> map) |
static <T> List<T> |
removeRepeat(List<T> list) |
static <T> String[] |
toArray(List<T> list) |
public static <T> boolean isEmpty(Collection<T> col)
public static <T> boolean isNotEmpty(Collection<T> col)
public static <K,V> boolean isEmpty(Map<K,V> map)
public static <K,V> boolean isNotEmpty(Map<K,V> map)
Copyright © 2018. All rights reserved.