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 |
|
|
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; |
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") |