/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(char[] pattern, char[] name) { if (pattern == null || pattern.length == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern, name); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(char[] pattern, char[] name) { if (pattern == null || pattern.length == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern, name); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(char[] pattern, char[] name) { if (pattern == null || pattern.length == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern, name); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(char[] pattern, char[] name) { if (pattern == null || pattern.length == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern, name); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(char[] pattern, char[] name) { if (pattern == null || pattern.length == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern, name); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(String pattern, String name) { if (pattern == null || pattern.length() == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern.toCharArray(), name.toCharArray()); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(String pattern, String name) { if (pattern == null || pattern.length() == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern.toCharArray(), name.toCharArray()); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(String pattern, String name) { if (pattern == null || pattern.length() == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern.toCharArray(), name.toCharArray()); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(String pattern, String name) { if (pattern == null || pattern.length() == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern.toCharArray(), name.toCharArray()); }
/** * Answers true if the characters of the pattern are contained in the * name as a substring, in a case-insensitive way. * * @param pattern the given pattern * @param name the given name * @return true if the pattern matches the given name, false otherwise * @since 3.12 */ public static final boolean substringMatch(String pattern, String name) { if (pattern == null || pattern.length() == 0) { return true; } if (name == null) { return false; } return checkSubstringMatch(pattern.toCharArray(), name.toCharArray()); }