comefrom: <gouthampradhan>string_RotateString_1.java
code: public boolean rotateString(String A, String B) {
      if (A.length() == 1 || A.isEmpty() || B.length() == 1 || B.isEmpty()) {
        return A.equals(B);
      } else if (A.length() != B.length()) {
        return false;
      }
      for (int i = 0, l = A.length(); i < l; i++) {
        char s = A.charAt(0);
        A = A.substring(1) + s;
        if (A.equals(B)) return true;
      }
      return false;
    }
masked: public boolean var_0 ( String var_2 , String var_3 ) {
    if ( var_2 . length ( ) == 1 || var_2 . isEmpty ( ) || var_3 . length ( ) == 1 || var_3 . isEmpty ( ) ) {
      return var_2 . equals ( var_3 ) ;
    }
    else if ( var_2 . length ( ) != var_3 . length ( ) ) {
      return false ;
    }
    for ( int var_9 = 0 , var_10 = var_2 . length ( ) ;
    var_9 < var_10 ;
    var_9 ++ ) {
      char var_12 = var_2 . charAt ( 0 ) ;
      var_2 = var_2 . substring ( 1 ) + var_12 ;
      if ( var_2 . equals ( var_3 ) ) return true ;
    }
    return false ;
  }
  