public class CollectionUtil
extends org.apache.commons.collections.CollectionUtils
| 构造器和说明 |
|---|
CollectionUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isEmpty(List<?> list)
是否为空
|
static boolean |
isEmpty(Set<?> set)
是否为空
|
static boolean |
isNotEmpty(List<?> list)
是否不为空
|
static boolean |
isNotEmpty(Set<?> set)
是否不为空
|
addAll, addAll, addAll, addIgnoreNull, cardinality, collect, collect, collect, collect, containsAny, countMatches, disjunction, exists, filter, find, forAllDo, get, getCardinalityMap, index, index, intersection, isEmpty, isEqualCollection, isFull, isNotEmpty, isProperSubCollection, isSubCollection, maxSize, predicatedCollection, removeAll, retainAll, reverseArray, select, select, selectRejected, selectRejected, size, sizeIsEmpty, subtract, synchronizedCollection, transform, transformedCollection, typedCollection, union, unmodifiableCollectionpublic static boolean isEmpty(List<?> list)
list - public static boolean isNotEmpty(List<?> list)
list - public static boolean isEmpty(Set<?> set)
set - public static boolean isNotEmpty(Set<?> set)
set - Copyright © 2024. All rights reserved.