List of utility methods to do Array Empty Check
boolean | isEmpty(int[] array) Checks if an array of primitive ints is empty or return array == null || array.length == 0;
|
boolean | isEmpty(long[] array) Checks if an array of primitive longs is empty or return array == null || array.length == 0;
|
boolean | isEmpty(short[] array) Checks if an array of primitive shorts is empty or return array == null || array.length == 0;
|
boolean | isNotEmpty(T[] array) Checks if an array of Objects is not empty or not return (array != null && array.length != 0);
|
boolean | isNotEmpty(T[] array) Checks whether the provided array is empty (i.e is not null and has non-empty length). return (array != null && array.length > 0);
|
boolean | isNotEmpty(boolean[] array) Checks if an array of primitive booleans is not empty or not return (array != null && array.length != 0);
|
boolean | isNotEmpty(byte[] array) Checks if an array of primitive bytes is not empty or not return (array != null && array.length != 0);
|
boolean | isNotEmpty(char[] array) Checks if an array of primitive chars is not empty or not return (array != null && array.length != 0);
|
boolean | isNotEmpty(double[] array) Checks if an array of primitive doubles is not empty or not return (array != null && array.length != 0);
|
boolean | isNotEmpty(float[] array) Checks if an array of primitive floats is not empty or not return (array != null && array.length != 0);
|