docs: public CursorIterator<T> iterate(final Txn<T> txn, final KeyRange<T> range,
                                     final Comparator<T> comparator) {
      if (SHOULD_CHECK) {
        requireNonNull(txn);
        requireNonNull(range);
        txn.checkReady();
      }
      final Comparator<T> useComp;
      if (comparator == null) {
        useComp = compFunc == null ? txn.comparator() : compFunc;
      } else {
        useComp = comparator;
      }
      return new CursorIterator<>(txn, this, range, useComp);
    }