ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ConcurrentHashMap.java (file contents):
Revision 1.39 by tim, Thu Jan 15 15:10:31 2004 UTC vs.
Revision 1.40 by dl, Tue Jan 20 04:35:02 2004 UTC

# 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,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines