101 |
|
private static final int DEFAULT_SEGMENTS = 16; |
102 |
|
|
103 |
|
/** |
104 |
< |
* The maximum number of segments to allow; used to bound ctor arguments. |
104 |
> |
* The maximum number of segments to allow; used to bound |
105 |
> |
* constructor arguments. |
106 |
|
*/ |
107 |
|
private static final int MAX_SEGMENTS = 1 << 16; // slightly conservative |
108 |
|
|
132 |
|
|
133 |
|
/** |
134 |
|
* Return a hash code for non-null Object x. |
135 |
< |
* Uses the same hash code spreader as most other j.u hash tables. |
135 |
> |
* Uses the same hash code spreader as most other java.util hash tables. |
136 |
|
* @param x the object serving as a key |
137 |
|
* @return the hash code |
138 |
|
*/ |