code: public static boolean isSpaceChar(int ch)
      {
          // if props == 0, it will just fall through and return false
          return ((1 << getType(ch)) & ((1 << UCharacterCategory.SPACE_SEPARATOR)
                  | (1 << UCharacterCategory.LINE_SEPARATOR)
                  | (1 << UCharacterCategory.PARAGRAPH_SEPARATOR)))
                  != 0;
      }
docs: Determines if the specified code point is a Unicode specified space
  character, i.e. if code point is in the category Zs, Zl and Zp.
  Up-to-date Unicode implementation of java.lang.Character.isSpaceChar().
  @param ch code point to determine if it is a space
  @return true if the specified code point is a space character