boon/src/main/java/org/boon/Str.java
public static void equalsOrDie(String a, String b) {
        if (a == null && b == null) {
            return;
        }
        if (a == null || b == null) {
            die("Values not equal value a=", a, "value b=", b);
        }

        char[] ac = FastStringUtils.toCharArray(a);
        char[] bc = FastStringUtils.toCharArray(b);
        Chr.equalsOrDie(ac, bc);
    }
public static void equalsOrDie(String a, String b) {
        if (a == null && b == null) {
            return;
        }
        if (a == null || b == null) {
            die("Values not equal value a=", a, "value b=", b);
        }

        char[] ac = FastStringUtils.toCharArray(a);
        char[] bc = FastStringUtils.toCharArray(b);
        Chr.equalsOrDie(ac, bc);
    }
public static void equalsOrDie ( String a , String b ) { if ( a == null && b == null ) { return ; } if ( a == null || b == null ) { die ( "Values not equal value a=" , a , "value b=" , b ) ; } char [ ] ac = FastStringUtils . toCharArray ( a ) ; char [ ] bc = FastStringUtils . toCharArray ( b ) ; Chr . equalsOrDie ( ac , bc ) ; }
See if they are equal or die
@param a a
@param b b
See if they are equal or die