public final class CollectionUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmpty(Collection collection)
Returns
true if the given collection is null or empty, otherwise returns false. |
static boolean |
isNotEmpty(Collection collection)
Returns
true if the given collection is not null and not empty, otherwise returns false. |
public static boolean isEmpty(Collection collection)
true if the given collection is null or empty, otherwise returns false.collection - the given collection.true if collection is empty.public static boolean isNotEmpty(Collection collection)
true if the given collection is not null and not empty, otherwise returns false.collection - the given collection.true if collection is not empty.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.