1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
import java.util.*; |
7 |
|
import java.io.*; |
116 |
|
long startTime = System.currentTimeMillis(); |
117 |
|
runner.run(); |
118 |
|
long afterRun = System.currentTimeMillis(); |
119 |
< |
long runTime = (afterRun - startTime); |
119 |
> |
long runTime = afterRun - startTime; |
120 |
|
int np = runner.total; |
121 |
|
if (runner.total == runner.hashCode()) |
122 |
|
System.out.println("Useless Number" + runner.total); |
177 |
|
if (r < pctrem) { |
178 |
|
map.remove(k); |
179 |
|
++nremoves; |
180 |
< |
j += ((r >>> 8) & 7) + n / 2; |
180 |
> |
j += ((r >>> 8) & 7) + n / 2; |
181 |
|
if (j >= n) j -= n; |
182 |
|
} |
183 |
|
} |