Package com.hazelcast.aws.utility
Class StringUtil
java.lang.Object
com.hazelcast.aws.utility.StringUtil
public final class StringUtil extends Object
-
Method Summary
Modifier and Type Method Description static boolean
isEmpty(String s)
Checks if a string is empty or not after trim operationstatic boolean
isNotEmpty(String s)
Checks if a string is empty or not after trim operation
-
Method Details
-
isEmpty
Checks if a string is empty or not after trim operation- Parameters:
s
- the string to check.- Returns:
- true if the string is null or empty, false otherwise
-
isNotEmpty
Checks if a string is empty or not after trim operation- Parameters:
s
- the string to check.- Returns:
- true if the string is not null or not empty, false otherwise
-