@Test(dataProvider = "startsWithIgnoreCase") public void testStartsWithIgnoreCase(String a, String b, boolean expected) { assert StringUtils.startsWithIgnoreCase(a, b) == expected; }
public static boolean startsWithIgnoreCase(String a, String b) { return a.regionMatches(true, 0, b, 0, b.length()); }
StringUtils { public static boolean startsWithIgnoreCase(String a, String b) { return a.regionMatches(true, 0, b, 0, b.length()); } }
StringUtils { public static boolean startsWithIgnoreCase(String a, String b) { return a.regionMatches(true, 0, b, 0, b.length()); } private  StringUtils(); }
StringUtils { public static boolean startsWithIgnoreCase(String a, String b) { return a.regionMatches(true, 0, b, 0, b.length()); } private  StringUtils(); static boolean endsWithIgnoreCase(String a, String b); static boolean matchesIgnoreCase(String a, String b, int posA); static boolean endsWithIgnoreCase(String a, char[] b); static boolean matchesIgnoreCase(String a, char[] b, int posA); static boolean endsWith(String a, char[] b); static boolean matches(String a, char[] b, int posA); static boolean startsWithIgnoreCase(String a, String b); static boolean equals(String s1, String s2, Locale locale); static boolean equals(String s1, String s2, boolean caseSensitive); static int parseIntDef(String s, int def); static String capitalize(String s); static String flatten(String s[]); static String flatten(String s[], String separator); static boolean isNullOrEmpty(String string); }
StringUtils { public static boolean startsWithIgnoreCase(String a, String b) { return a.regionMatches(true, 0, b, 0, b.length()); } private  StringUtils(); static boolean endsWithIgnoreCase(String a, String b); static boolean matchesIgnoreCase(String a, String b, int posA); static boolean endsWithIgnoreCase(String a, char[] b); static boolean matchesIgnoreCase(String a, char[] b, int posA); static boolean endsWith(String a, char[] b); static boolean matches(String a, char[] b, int posA); static boolean startsWithIgnoreCase(String a, String b); static boolean equals(String s1, String s2, Locale locale); static boolean equals(String s1, String s2, boolean caseSensitive); static int parseIntDef(String s, int def); static String capitalize(String s); static String flatten(String s[]); static String flatten(String s[], String separator); static boolean isNullOrEmpty(String string); static final String EMPTY; }