On Wed, 24 Jan 2024 23:53:34 GMT, jmehrens <d...@openjdk.org> wrote:

> For any Map/Collection you can fetch the Spliterator and use estimateSize or 
> getExactSizeIfKnown as both return size as a long.

Based on the code, I think this will just return the original size. It would be 
the same as casting `(long) size()`.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17544#issuecomment-1909145170

Reply via email to