Folks, Please read https://github.com/apache/datasketches-java/pull/350 which addresses the issue.
Extending the Java Frequent Items ItemsSketch<T> to be able to return all retained items has implications on whether the same change should be made to the non-generic LongsSketch as well as whether the C++ versions should also provide the same capability. We would appreciate comments from the community on this issue. Cheers, Lee.
