/** * Debugging method for checking B-tree invariants * @return the empty String if B-tree invariants hold, otherwise * a human readable report * @throws IndexException */ public String getInvariantsErrorReport() throws IndexException { InvariantsChecker checker = new InvariantsChecker(); accept(checker); return checker.isValid() ? "" : checker.getMsg(); //$NON-NLS-1$ }
/** * Debugging method for checking B-tree invariants * @return the empty String if B-tree invariants hold, otherwise * a human readable report * @throws IndexException */ public String getInvariantsErrorReport() throws IndexException { InvariantsChecker checker = new InvariantsChecker(); accept(checker); return checker.isValid() ? "" : checker.getMsg(); //$NON-NLS-1$ }