|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jdroid.java.utils.CollectionUtils
public abstract class CollectionUtils
A set of useful functions used against a Collection
| Constructor Summary | |
|---|---|
protected |
CollectionUtils()
|
| Method Summary | |
|---|---|
static boolean |
isEmpty(Collection<?> coll)
Null-safe check if the specified collection is empty. |
static boolean |
isEmptyCollection(Object object)
|
static boolean |
isNotEmpty(Collection<?> coll)
Null-safe check if the specified collection is not empty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CollectionUtils()
| Method Detail |
|---|
public static boolean isEmpty(Collection<?> coll)
Null returns true.
coll - the collection to check, may be null
public static boolean isEmptyCollection(Object object)
public static boolean isNotEmpty(Collection<?> coll)
Null returns false.
coll - the collection to check, may be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||