private static boolean areSameTsi(String a, String b) {
    return a.length() == b.length() && b.length() > SQL_TSI_ROOT.length()
        && a.regionMatches(true, SQL_TSI_ROOT.length(), b, SQL_TSI_ROOT.length(), b.length() - SQL_TSI_ROOT.length());
  }
private static boolean areSameTsi ( String a , String b ) { return a . length ( ) == b . length ( ) && b . length ( ) > SQL_TSI_ROOT . length ( ) && a . regionMatches ( true , SQL_TSI_ROOT . length ( ) , b , SQL_TSI_ROOT . length ( ) , b . length ( ) - SQL_TSI_ROOT . length ( ) ) ; }
Compares two TSI intervals. It is
@param a first interval to compare
@param b second interval to compare
@return true when both intervals are equal (case insensitive)