# | Line 585 | Line 585 | public class ConcurrentHashMap<K, V> ext | |
---|---|---|
585 | * Constructs a new map with the same mappings as the given map. The | |
586 | * map is created with a capacity of twice the number of mappings in | |
587 | * the given map or 11 (whichever is greater), and a default load factor. | |
588 | + | * @param t the map |
589 | */ | |
590 | public ConcurrentHashMap(Map<? extends K, ? extends V> t) { | |
591 | this(Math.max((int) (t.size() / DEFAULT_LOAD_FACTOR) + 1, |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |