List of utility methods to do List Null Empty
boolean | isNonEmptyArray(List Used for parameter validation return value != null && !value.isEmpty();
|
boolean | isNotEmpty(final List> aList) is Not Empty if (null != aList) { if (!aList.isEmpty()) { return true; return false; |
boolean | isNotEmpty(List list) is Not Empty if (list == null || list.size() < 1) { return false; return true; |
boolean | isNotEmpty(List list) is Not Empty boolean isNotEmpty = false; if ((list != null) && (!list.isEmpty())) { isNotEmpty = true; return isNotEmpty; |
boolean | isNotEmpty(List values) Checks of the given list contains any elements. return !isEmpty(values);
|
boolean | isNotEmpty(List extends CharSequence> input) is Not Empty return input != null && input.size() > 0;
|
boolean | isNotEmpty(List extends CharSequence> input) is Not Empty return input != null && input.size() > 0;
|
boolean | isNotEmpty(List> list) is Not Empty return !isEmpty(list);
|
boolean | isNotEmpty(List> value) is Not Empty return !isEmpty(value);
|
boolean | isNotEmpty(List This method checks if the list is not null and have elements. return list != null && !list.isEmpty();
|