RFR: 8186958: Need method to create pre-sized HashMap [v2]
XenoAmess
duke at openjdk.java.net
Thu Mar 24 11:47:30 UTC 2022
On Thu, 24 Mar 2022 11:14:54 GMT, David Holmes <dholmes at openjdk.org> wrote:
>>> That isn't what is returned.
>>
>> @dholmes-ora Yes it isn't actually. but I cannot find a better description string for it.
>>
>> "the pre-processed raw initial capacity for HashMap based classes." is more exact but sounds weird.
>>
>> Have you any suggestions to replace this? Thanks!
>
> This method doesn't return the capacity it returns the Map!
@dholmes-ora done.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7928
More information about the core-libs-dev
mailing list