@Test public void testNoBreakSpace() { Assert.assertTrue(StringUtil.isWhitespace(0x00A0)); Assert.assertTrue(StringUtil.isWhitespace(0x2007)); Assert.assertTrue(StringUtil.isWhitespace(0x202F)); Assert.assertTrue(StringUtil.isWhitespace((char) 0x00A0)); Assert.assertTrue(StringUtil.isWhitespace((char) 0x2007)); Assert.assertTrue(StringUtil.isWhitespace((char) 0x202F)); }
public static boolean isWhitespace(char charCode) { return Character.isWhitespace(charCode) || Character.getType(charCode) == Character.SPACE_SEPARATOR; }
StringUtil { public static boolean isWhitespace(char charCode) { return Character.isWhitespace(charCode) || Character.getType(charCode) == Character.SPACE_SEPARATOR; } }
StringUtil { public static boolean isWhitespace(char charCode) { return Character.isWhitespace(charCode) || Character.getType(charCode) == Character.SPACE_SEPARATOR; }  }
StringUtil { public static boolean isWhitespace(char charCode) { return Character.isWhitespace(charCode) || Character.getType(charCode) == Character.SPACE_SEPARATOR; }  static boolean isWhitespace(char charCode); static boolean isWhitespace(int charCode); static String toLowerCase(CharSequence string); static String toUpperCase(CharSequence string); static boolean isEmpty(CharSequence theString); static int[][] levenshteinDistance(String wordForm, String lemma); static void computeShortestEditScript(String wordForm, String lemma,
      int[][] distance, StringBuffer permutations); static String decodeShortestEditScript(String wordForm, String permutations); static String getShortestEditScript(String wordForm, String lemma); }
StringUtil { public static boolean isWhitespace(char charCode) { return Character.isWhitespace(charCode) || Character.getType(charCode) == Character.SPACE_SEPARATOR; }  static boolean isWhitespace(char charCode); static boolean isWhitespace(int charCode); static String toLowerCase(CharSequence string); static String toUpperCase(CharSequence string); static boolean isEmpty(CharSequence theString); static int[][] levenshteinDistance(String wordForm, String lemma); static void computeShortestEditScript(String wordForm, String lemma,
      int[][] distance, StringBuffer permutations); static String decodeShortestEditScript(String wordForm, String permutations); static String getShortestEditScript(String wordForm, String lemma);  }