Java Utililty Methods Is Null

List of utility methods to do Is Null

Description

The list of methods to do Is Null are organized into topic(s).

Method

booleanisNotNull(File file)
is Not Null
return !isNull((File) file);
booleanisNotNullOrEmpty(final Object[] array)
is Not Null Or Empty
return !isNullOrEmpty(array);
booleanisNull(File file)
is Null
return null == file || !file.exists();
booleanisNull(Object s)
is Null
return isBlank(nullValue(s));
StringisNull(String sIn)
is Null
return (sIn == null) ? "" : sIn;
booleanisNullOrEmpty(Object[] array)
is Null Or Empty
return (array == null) || (array.length == 0);