27 |
|
* |
28 |
|
* <p>This class also provides additional commonly used bounded random |
29 |
|
* generation methods. |
30 |
+ |
* |
31 |
+ |
* @since 1.7 |
32 |
+ |
* @author Doug Lea |
33 |
|
*/ |
34 |
|
public class ThreadLocalRandom extends Random { |
35 |
|
// same constants as Random, but must be redeclared because private |
76 |
|
} |
77 |
|
|
78 |
|
/** |
79 |
< |
* Returns the current Thread's ThreadLocalRandom |
79 |
> |
* Returns the current Thread's ThreadLocalRandom. |
80 |
|
* @return the current Thread's ThreadLocalRandom |
81 |
|
*/ |
82 |
|
public static ThreadLocalRandom current() { |