public class CollUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isEmpty(Collection<?> collection)
集合是否为空
|
static boolean |
isNotEmpty(Collection<?> collection)
集合是否为非空
|
public static boolean isEmpty(Collection<?> collection)
collection
- 集合public static boolean isNotEmpty(Collection<?> collection)
collection
- 集合Copyright © 2021. All rights reserved.