docs: public CompactSketch<S> getResult() {
      if (isFirstCall_) {
        throw new SketchesStateException(
          "getResult() with no intervening intersections is not a legal result.");
      }
      if (sketch_ == null) {
        return new CompactSketch<>(null, null, theta_, isEmpty_);
      }
      return sketch_.compact();
    }