On Wed, 24 Jan 2024 21:53:51 GMT, Hannes Greule <hgre...@openjdk.org> wrote:

>...then suggest we should change the Map::size() api to return a long...

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

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

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

Reply via email to