Class CodePointUtil
java.lang.Object
com.puppycrawl.tools.checkstyle.utils.CodePointUtil
Contains utility methods for code point.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isBlank
(int... codePoints) Checks if given code point array is blank by either being empty, or contains only whitespace characters.
-
Constructor Details
-
CodePointUtil
private CodePointUtil()Stop instances being created.
-
-
Method Details
-
isBlank
public static boolean isBlank(int... codePoints) Checks if given code point array is blank by either being empty, or contains only whitespace characters.- Parameters:
codePoints
- The array of unicode code points of string to check.- Returns:
- true if codePoints is blank.
-