Java Utililty Methods Collection Empty

List of utility methods to do Collection Empty

Description

The list of methods to do Collection Empty are organized into topic(s).

Method

booleanisNullOrEmpty(Collection obj)
Checks if is null or empty.
return (obj == null || obj.isEmpty());
booleanisNullOrEmpty(Collection s)
is Null Or Empty
return (s == null || s.isEmpty());
booleanisNullOrEmpty(Collection values)
is Null Or Empty
if (values == null || values.isEmpty()) {
    return true;
return false;
booleanisNullOrEmpty(final Collection c)
Checks whether the given Collection is null or is empty.
return c == null || c.isEmpty();
booleanisNullOrEmpty(final Collection collection)
is Null Or Empty
return (collection == null) || (collection.isEmpty());
booleanisNullOrEmpty(final Collection value)
Tests given value to see if it is empty.
return isNull(value) || isEmpty(value);
booleanisNullOrEmpty(final Collection collection)
Checks whether a collection is null or empty
return collection == null || collection.isEmpty();
booleanisNullOrEmpty(T collection)
is Null Or Empty
return collection == null || collection.isEmpty();
booleannullOrEmpty(Collection coll)
null Or Empty
return coll == null || coll.isEmpty();
booleannullOrEmpty(Collection tested)
null Or Empty
return ((tested == null) || tested.isEmpty());