List of utility methods to do Collection Empty Check
boolean | isAnyStringEmpty( Collection is Any String Empty if (collection == null || collection.isEmpty()) return false; for (String elem : collection) { if (TextUtils.isEmpty(elem)) return true; return false; |
boolean | isEmpty(Collection collection) Return true if the supplied Collection is null or empty. return (collection == null || collection.isEmpty());
|
boolean | isEmpty(Collection> coll) Null-safe check if the specified collection is empty. return (coll == null || coll.isEmpty());
|
boolean | isEmpty(Collection> coll) is Empty return (coll == null || coll.isEmpty());
|
boolean | isEmpty(Collection> collection) Returns true if the given collection is null or empty.
return collection == null || collection.isEmpty();
|
boolean | isEmpty(Collection> collection) is Empty if (size(collection) == 0) { return true; return false; |
boolean | isEmpty(Collection> collection) is Empty return collection == null || collection.isEmpty();
|
boolean | isEmpty(Collection> list) is Empty if (list == null) { return true; return list.isEmpty(); |
boolean | isEmpty(Collection> theCollection) is Empty return theCollection == null || theCollection.isEmpty();
|
boolean | isEmpty(Collection> theCollection) is Empty return theCollection == null || theCollection.isEmpty();
|