public class RandomGeneratorFactory extends Object
RandomGenerator instances.| Modifier and Type | Method and Description | 
|---|---|
| static long | convertToLong(int[] seed)Converts seed from one representation to another. | 
| static RandomGenerator | createRandomGenerator(Random rng)Creates a  RandomDataGeneratorinstance that wraps aRandominstance. | 
public static RandomGenerator createRandomGenerator(Random rng)
RandomDataGenerator instance that wraps a
 Random instance.rng - JDK Random instance that will generate the
 the random data.RandomGenerator.public static long convertToLong(int[] seed)
seed - Original seed.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.