public class CollectionUtils extends Object
| 构造器和说明 |
|---|
CollectionUtils() |
public static boolean isEmpty(Collection<?> collection)
true if the supplied Collection is null or empty.
Otherwise, return false.collection - the Collection to checkpublic static boolean isEmpty(Map<?,?> map)
true if the supplied Map is null or empty.
Otherwise, return false.map - the Map to checkCopyright © 2024. All rights reserved.