This commit is contained in:
Jesper Wilhelmsson 2022-07-11 16:15:49 +00:00
commit c79baaa811
43 changed files with 385 additions and 127 deletions

View file

@ -2571,7 +2571,7 @@ public class HashMap<K,V> extends AbstractMap<K,V>
* without resizing the map.
*
* @param numMappings the expected number of mappings
* @param <K> the type of keys maintained by this map
* @param <K> the type of keys maintained by the new map
* @param <V> the type of mapped values
* @return the newly created map
* @throws IllegalArgumentException if numMappings is negative

View file

@ -803,7 +803,7 @@ public class LinkedHashMap<K,V>
* without resizing the map.
*
* @param numMappings the expected number of mappings
* @param <K> the type of keys maintained by this map
* @param <K> the type of keys maintained by the new map
* @param <V> the type of mapped values
* @return the newly created map
* @throws IllegalArgumentException if numMappings is negative

View file

@ -1350,7 +1350,7 @@ public class WeakHashMap<K,V>
* without resizing the map.
*
* @param numMappings the expected number of mappings
* @param <K> the type of keys maintained by this map
* @param <K> the type of keys maintained by the new map
* @param <V> the type of mapped values
* @return the newly created map
* @throws IllegalArgumentException if numMappings is negative