77 |
|
*/ |
78 |
|
private final AtomicLong seed; |
79 |
|
|
80 |
< |
private final static long multiplier = 0x5DEECE66DL; |
81 |
< |
private final static long addend = 0xBL; |
82 |
< |
private final static long mask = (1L << 48) - 1; |
80 |
> |
private static final long multiplier = 0x5DEECE66DL; |
81 |
> |
private static final long addend = 0xBL; |
82 |
> |
private static final long mask = (1L << 48) - 1; |
83 |
|
|
84 |
|
/** |
85 |
|
* Creates a new random number generator. This constructor sets |
268 |
|
* @return the next pseudorandom, uniformly distributed {@code int} |
269 |
|
* value between {@code 0} (inclusive) and {@code n} (exclusive) |
270 |
|
* from this random number generator's sequence |
271 |
< |
* @exception IllegalArgumentException if n is not positive |
271 |
> |
* @throws IllegalArgumentException if n is not positive |
272 |
|
* @since 1.2 |
273 |
|
*/ |
274 |
|
|