@Test public void isContains1() throws Exception { String[] names = {"sxp", "wf", "xxx"}; assertTrue(StringUtils.isContains(names, "xxx")); assertFalse(StringUtils.isContains(names, "yyyy")); }
public static boolean isContains(String values, String value) { if (values == null || values.length() == 0) { return false; } return isContains(Constants.COMMA_SPLIT_PATTERN.split(values), value); }
StringUtils { public static boolean isContains(String values, String value) { if (values == null || values.length() == 0) { return false; } return isContains(Constants.COMMA_SPLIT_PATTERN.split(values), value); } }
StringUtils { public static boolean isContains(String values, String value) { if (values == null || values.length() == 0) { return false; } return isContains(Constants.COMMA_SPLIT_PATTERN.split(values), value); }  }
StringUtils { public static boolean isContains(String values, String value) { if (values == null || values.length() == 0) { return false; } return isContains(Constants.COMMA_SPLIT_PATTERN.split(values), value); }  static boolean isBlank(String str); static boolean isEmpty(String str); static boolean isNotEmpty(String str); static boolean isInteger(String str); static int parseInteger(String str); static Map<String, String> parseQueryString(String qs); static String getServiceKey(Map<String, String> ps); static String toQueryString(Map<String, String> ps); static boolean isEquals(String s1, String s2); static boolean isContains(String values, String value); static boolean isContains(String[] values, String value); static boolean isNumeric(String str); }
StringUtils { public static boolean isContains(String values, String value) { if (values == null || values.length() == 0) { return false; } return isContains(Constants.COMMA_SPLIT_PATTERN.split(values), value); }  static boolean isBlank(String str); static boolean isEmpty(String str); static boolean isNotEmpty(String str); static boolean isInteger(String str); static int parseInteger(String str); static Map<String, String> parseQueryString(String qs); static String getServiceKey(Map<String, String> ps); static String toQueryString(Map<String, String> ps); static boolean isEquals(String s1, String s2); static boolean isContains(String values, String value); static boolean isContains(String[] values, String value); static boolean isNumeric(String str); static final String[] EMPTY_STRING_ARRAY; }