public static class RandomUniform.Options extends Object
RandomUniform
Modifier and Type | Method and Description |
---|---|
RandomUniform.Options |
seed(Long seed)
Sets the seed option.
|
RandomUniform.Options |
seed2(Long seed2)
Sets the seed2 option.
|
public RandomUniform.Options seed(Long seed)
seed
- If either seed
or seed2
are set to be non-zero, the random number
generator is seeded by the given seed. Otherwise, it is seeded by a
random seed.public RandomUniform.Options seed2(Long seed2)
seed2
- A second seed to avoid seed collision.Copyright © 2015–2022. All rights reserved.