jodd-core/src/main/java/jodd/util/Wildcard.java
public static boolean equalsOrMatch(final CharSequence string, final CharSequence pattern) {
		if (string.equals(pattern)) {
			return true;
		}
		return match(string, pattern, 0, 0);
	}
public static boolean equalsOrMatch(final CharSequence string, final CharSequence pattern) {
		if (string.equals(pattern)) {
			return true;
		}
		return match(string, pattern, 0, 0);
	}
Checks if two strings are equals or if they {@link #match(CharSequence, CharSequence)}.
Useful for cases when matching a lot of equal strings and speed is important.