Package org.neo4j.cypherdsl.core.utils
Class Strings
- java.lang.Object
-
- org.neo4j.cypherdsl.core.utils.Strings
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanhasText(String str)static StringrandomIdentifier(int length)
-
-
-
Method Detail
-
hasText
public static boolean hasText(String str)
- Parameters:
str- A string to be checked for text.- Returns:
- True, if the string is neither null nor empty nor blank.
-
randomIdentifier
public static String randomIdentifier(int length)
- Parameters:
length- The length of the identifier to generate.- Returns:
- A random identifier that is a valid identifier
-
-