/** * Returns whether the given name matches the given pattern. */ protected boolean matchesName(char[] pattern, char[] name) { if (pattern == null) return true; // null is as if it was "*" if (name == null) return false; // cannot match null name return matchNameValue(pattern, name) != IMPOSSIBLE_MATCH; } /**
/** * Returns whether the given name matches the given pattern. */ protected boolean matchesName(char[] pattern, char[] name) { if (pattern == null) return true; // null is as if it was "*" if (name == null) return false; // cannot match null name return matchNameValue(pattern, name) != IMPOSSIBLE_MATCH; } /**
/** * Returns whether the given name matches the given pattern. */ protected boolean matchesName(char[] pattern, char[] name) { if (pattern == null) return true; // null is as if it was "*" if (name == null) return false; // cannot match null name return matchNameValue(pattern, name) != IMPOSSIBLE_MATCH; } /**
/** * Returns whether the given name matches the given pattern. */ protected boolean matchesName(char[] pattern, char[] name) { if (pattern == null) return true; // null is as if it was "*" if (name == null) return false; // cannot match null name return matchNameValue(pattern, name) != IMPOSSIBLE_MATCH; } /**
/** * Returns whether the given name matches the given pattern. */ protected boolean matchesName(char[] pattern, char[] name) { if (pattern == null) return true; // null is as if it was "*" if (name == null) return false; // cannot match null name return matchNameValue(pattern, name) != IMPOSSIBLE_MATCH; } /**
/** * Returns whether the given name matches the given pattern. */ protected boolean matchesName(char[] pattern, char[] name) { if (pattern == null) return true; // null is as if it was "*" if (name == null) return false; // cannot match null name return matchNameValue(pattern, name) != IMPOSSIBLE_MATCH; } /**