public abstract class CollectionUtils
extends java.lang.Object
| 构造器和说明 |
|---|
CollectionUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isEmpty(java.util.Collection<?> collection)
Return
true if the supplied Collection is null or empty. |
static boolean |
isEmpty(java.util.Map<?,?> map)
Return
true if the supplied Map is null or empty. |
public static boolean isEmpty(java.util.Collection<?> collection)
true if the supplied Collection is null or empty.
Otherwise, return false.collection - the Collection to checkpublic static boolean isEmpty(java.util.Map<?,?> map)
true if the supplied Map is null or empty.
Otherwise, return false.map - the Map to checkCopyright © 2020. All Rights Reserved.