docs: boolean isEquivalent(Table mainTable, int[] mainCols, Table refTable,
                           int[] refCols) {
  
          if (constType != Constraint.MAIN
                  && constType != Constraint.FOREIGN_KEY) {
              return false;
          }
  
          if (mainTable != core.mainTable || refTable != core.refTable) {
              return false;
          }
  
          return ArrayUtil.areEqualSets(core.mainCols, mainCols)
                 && ArrayUtil.areEqualSets(core.refCols, refCols);
      }