RFR: 8186958: Need method to create pre-sized HashMap [v2]

XenoAmess duke at openjdk.java.net
Thu Mar 24 11:47:31 UTC 2022


On Thu, 24 Mar 2022 11:15:12 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> XenoAmess has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix javadoc's @return
>
> src/java.base/share/classes/java/util/Collections.java line 5836:
> 
>> 5834:      * @param <K>          the type of keys maintained by this map
>> 5835:      * @param <V>          the type of mapped values
>> 5836:      * @return initial capacity for HashMap based classes.
> 
> Again this method returns a Map

@dholmes-ora done.

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

PR: https://git.openjdk.java.net/jdk/pull/7928


More information about the core-libs-dev mailing list