ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.8 by jsr166, Tue Aug 30 13:49:10 2011 UTC vs.
Revision 1.9 by jsr166, Tue Aug 30 14:55:58 2011 UTC

# Line 217 | Line 217 | public class ConcurrentHashMapV8<K, V>
217  
218      /**
219       * The default initial table capacity.  Must be a power of 2, at
220 <     * least MINIMUM_CAPACITY and at most MAXIMUM_CAPACITY
220 >     * least MINIMUM_CAPACITY and at most MAXIMUM_CAPACITY.
221       */
222      static final int DEFAULT_CAPACITY = 16;
223  
# Line 909 | Line 909 | public class ConcurrentHashMapV8<K, V>
909       * nonpositive.
910       */
911      public ConcurrentHashMapV8(int initialCapacity,
912 <                             float loadFactor, int concurrencyLevel) {
912 >                               float loadFactor, int concurrencyLevel) {
913          if (!(loadFactor > 0) || initialCapacity < 0 || concurrencyLevel <= 0)
914              throw new IllegalArgumentException();
915          this.initCap = initialCapacity;
# Line 1550 | Line 1550 | public class ConcurrentHashMapV8<K, V>
1550      }
1551  
1552      /**
1553 <     * Reconstitutes the  instance from a
1554 <     * stream (i.e., deserializes it).
1553 >     * Reconstitutes the instance from a stream (that is, deserializes it).
1554       * @param s the stream
1555       */
1556      @SuppressWarnings("unchecked")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines