@Test public void testIsNonAlphanumSep() { String alpha = "a"; String num = "1"; String sep = ","; String other = "("; assertFalse(TextUtils.isNonAlphanumSep(alpha)); assertFalse(TextUtils.isNonAlphanumSep(num)); assertFalse(TextUtils.isNonAlphanumSep(sep)); assertTrue(TextUtils.isNonAlphanumSep(other)); }
public static boolean isNonAlphanumSep(String text) { return NOT_ALPHANUM_PATTERN.matcher(text).find() && !isSeparator(text); }
TextUtils { public static boolean isNonAlphanumSep(String text) { return NOT_ALPHANUM_PATTERN.matcher(text).find() && !isSeparator(text); } }
TextUtils { public static boolean isNonAlphanumSep(String text) { return NOT_ALPHANUM_PATTERN.matcher(text).find() && !isSeparator(text); }  }
TextUtils { public static boolean isNonAlphanumSep(String text) { return NOT_ALPHANUM_PATTERN.matcher(text).find() && !isSeparator(text); }  static boolean isNumberBetween(String s, int lower, int upper); static String removeOrphantSpaces(String text); static String cleanLigatures(String str); static List<String> tokenize(String text); static int tokLen(String text); static String joinStrings(List<String> strings); static String joinStrings(List<String> strings, char delim); static String joinStrings(String[] strings); static List<String> produceDates(List<String> date); static String getTrueVizPath(String pdfPath); static String getNLMPath(String pdfPath); static boolean isWord(String text); static boolean isNumber(String text); static boolean isOnlyFirstUpperCase(String text); static boolean isAllUpperCase(String text); static boolean isAllLowerCase(String text); static boolean isSeparator(String text); static boolean isNonAlphanumSep(String text); }
TextUtils { public static boolean isNonAlphanumSep(String text) { return NOT_ALPHANUM_PATTERN.matcher(text).find() && !isSeparator(text); }  static boolean isNumberBetween(String s, int lower, int upper); static String removeOrphantSpaces(String text); static String cleanLigatures(String str); static List<String> tokenize(String text); static int tokLen(String text); static String joinStrings(List<String> strings); static String joinStrings(List<String> strings, char delim); static String joinStrings(String[] strings); static List<String> produceDates(List<String> date); static String getTrueVizPath(String pdfPath); static String getNLMPath(String pdfPath); static boolean isWord(String text); static boolean isNumber(String text); static boolean isOnlyFirstUpperCase(String text); static boolean isAllUpperCase(String text); static boolean isAllLowerCase(String text); static boolean isSeparator(String text); static boolean isNonAlphanumSep(String text);  }