public static boolean equalsOrMatch(final CharSequence string, final CharSequence pattern) {
    """
	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.
    """
		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);
	}
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.
Checks if two strings are equals or if they {