java.lang.Object
de.cuioss.tools.lang.MoreArrays
Overladed methods to check the emptiness of given primitive arrays. With
empty being defined as is the given elements are
null or 0 ==
array.length- Author:
- Oliver Wolff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisEmpty(boolean[] array) Simple check method for anullsafe check of the emptiness of the given parameter.static booleanisEmpty(byte[] array) Simple check method for anullsafe check of the emptiness of the given parameter.static booleanisEmpty(char[] array) Simple check method for anullsafe check of the emptiness of the given parameter.static booleanisEmpty(double[] array) Simple check method for anullsafe check of the emptiness of the given parameter.static booleanisEmpty(float[] array) Simple check method for anullsafe check of the emptiness of the given parameter.static booleanisEmpty(int[] array) Simple check method for anullsafe check of the emptiness of the given parameter.static booleanisEmpty(long[] array) Simple check method for anullsafe check of the emptiness of the given parameter.static booleanisEmpty(short[] array) Simple check method for anullsafe check of the emptiness of the given parameter.
-
Constructor Details
-
MoreArrays
public MoreArrays()
-
-
Method Details
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-
isEmpty
Simple check method for anullsafe check of the emptiness of the given parameter.- Parameters:
array- to be checked, may be null- Returns:
trueis the given elements arenullor 0 == array.length
-