Package org.midheaven.lang
Class Check
java.lang.Object
org.midheaven.lang.Check
Represents Check.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CharSequenceargumentIsNotBlank(CharSequence value) Performs argumentIsNotBlank.static CharSequenceargumentIsNotBlank(CharSequence value, String argumentName) Performs argumentIsNotBlank.static <T,C extends Collection<T>>
CargumentIsNotEmpty(C value) Performs argumentIsNotEmpty.static <T,C extends Collection<T>>
CargumentIsNotEmpty(C value, String argumentName) Performs argumentIsNotEmpty.static CharSequenceargumentIsNotEmpty(CharSequence value, String argumentName) Performs argumentIsNotEmpty.static <T> TargumentIsNotNull(T value) Performs argumentIsNotNull.static <T> TargumentIsNotNull(T value, String argumentName) Performs argumentIsNotNull.
-
Constructor Details
-
Check
public Check()
-
-
Method Details
-
argumentIsNotNull
public static <T> T argumentIsNotNull(T value) Performs argumentIsNotNull.- Parameters:
value- the value value- Returns:
- the result of argumentIsNotNull
-
argumentIsNotNull
Performs argumentIsNotNull.- Parameters:
value- the value valueargumentName- the argumentName value- Returns:
- the result of argumentIsNotNull
-
argumentIsNotBlank
Performs argumentIsNotBlank.- Parameters:
value- the value value- Returns:
- the result of argumentIsNotBlank
-
argumentIsNotBlank
Performs argumentIsNotBlank.- Parameters:
value- the value valueargumentName- the argumentName value- Returns:
- the result of argumentIsNotBlank
-
argumentIsNotEmpty
Performs argumentIsNotEmpty.- Parameters:
value- the value valueargumentName- the argumentName value- Returns:
- the result of argumentIsNotEmpty
-
argumentIsNotEmpty
Performs argumentIsNotEmpty.- Parameters:
value- the value value- Returns:
- the result of argumentIsNotEmpty
-
argumentIsNotEmpty
Performs argumentIsNotEmpty.- Parameters:
value- the value valueargumentName- the argumentName value- Returns:
- the result of argumentIsNotEmpty
-