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.49 by dl, Tue Jun 22 22:36:20 2004 UTC vs.
Revision 1.50 by dl, Thu Jun 24 23:55:01 2004 UTC

# Line 625 | Line 625 | public class ConcurrentHashMap<K, V> ext
625      /**
626       * Creates a new map with the same mappings as the given map.  The
627       * map is created with a capacity of twice the number of mappings in
628 <     * the given map or 11 (whichever is greater), and a default load factor.
628 >     * the given map or 11 (whichever is greater), and a default load factor
629 >     * and concurrencyLevel.
630       * @param t the map
631       */
632      public ConcurrentHashMap(Map<? extends K, ? extends V> t) {
# Line 863 | Line 864 | public class ConcurrentHashMap<K, V> ext
864       *         with the specified key, if the implementation supports
865       *         <tt>null</tt> values.
866       *
866     * @throws UnsupportedOperationException if the <tt>put</tt> operation is
867     *            not supported by this map.
867       * @throws ClassCastException if the class of the specified key or value
868       *            prevents it from being stored in this map.
869       * @throws NullPointerException if the specified key or value is
# Line 995 | Line 994 | public class ConcurrentHashMap<K, V> ext
994       * <tt>Set.remove</tt>, <tt>removeAll</tt>, <tt>retainAll</tt>, and
995       * <tt>clear</tt> operations.  It does not support the <tt>add</tt> or
996       * <tt>addAll</tt> operations.
997 <     * The returned <tt>iterator</tt> is a "weakly consistent" iterator that
997 >     * The view's returned <tt>iterator</tt> is a "weakly consistent" iterator that
998       * will never throw {@link java.util.ConcurrentModificationException},
999       * and guarantees to traverse elements as they existed upon
1000       * construction of the iterator, and may (but is not guaranteed to)
# Line 1017 | Line 1016 | public class ConcurrentHashMap<K, V> ext
1016       * <tt>Iterator.remove</tt>, <tt>Collection.remove</tt>,
1017       * <tt>removeAll</tt>, <tt>retainAll</tt>, and <tt>clear</tt> operations.
1018       * It does not support the <tt>add</tt> or <tt>addAll</tt> operations.
1019 <     * The returned <tt>iterator</tt> is a "weakly consistent" iterator that
1019 >     * The view's returned <tt>iterator</tt> is a "weakly consistent" iterator that
1020       * will never throw {@link java.util.ConcurrentModificationException},
1021       * and guarantees to traverse elements as they existed upon
1022       * construction of the iterator, and may (but is not guaranteed to)
# Line 1040 | Line 1039 | public class ConcurrentHashMap<K, V> ext
1039       * <tt>Iterator.remove</tt>, <tt>Collection.remove</tt>,
1040       * <tt>removeAll</tt>, <tt>retainAll</tt>, and <tt>clear</tt> operations.
1041       * It does not support the <tt>add</tt> or <tt>addAll</tt> operations.
1042 <     * The returned <tt>iterator</tt> is a "weakly consistent" iterator that
1042 >     * The view's returned <tt>iterator</tt> is a "weakly consistent" iterator that
1043       * will never throw {@link java.util.ConcurrentModificationException},
1044       * and guarantees to traverse elements as they existed upon
1045       * construction of the iterator, and may (but is not guaranteed to)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines