Class CodePointUtil


  • public final class CodePointUtil
    extends java.lang.Object
    Contains utility methods for code point.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CodePointUtil()
      Stop instances being created.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isBlank​(int... codePoints)
      Checks if given code point array is blank by either being empty, or contains only whitespace characters.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CodePointUtil

        private CodePointUtil()
        Stop instances being created.
    • Method Detail

      • 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.