List of utility methods to do Collection Empty
boolean | isEmpty(Collection c) Check whether collection c is empty. return ((c == null) || (c.size() == 0));
|
boolean | isEmpty(Collection c) is Empty return null == c || 0 == c.size() ? true : false;
|
boolean | isEmpty(Collection c) True if the specified collection is null or empty. return c == null || c.isEmpty();
|
boolean | isEmpty(Collection col) Returns true if collection is null or empty if (col == null) return true; return col.isEmpty(); |
boolean | isEmpty(Collection collection) Return true if the supplied Collection is null or empty. return (collection == null || collection.isEmpty());
|
boolean | isEmpty(Collection collection) Check to see if the collection is null or empty return collection == null || collection.isEmpty();
|
boolean | isEmpty(Collection collection) is Empty return (collection == null) || collection.isEmpty();
|
boolean | isEmpty(Collection collection) is Empty if (collection == null || collection.size() == 0) { return true; return false; |
boolean | isEmpty(Collection collection) Determines if a collection is empty boolean empty = false; if (collection == null) { empty = true; } else if (collection.size() <= 0) { empty = true; return empty; |
boolean | isEmpty(Collection collection) is Empty if (null == collection) return true; return collection.isEmpty(); |