/** * Create a {@code RandomValues} with the given configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( Configuration configuration ) { return new RandomValues( new RandomGenerator( ThreadLocalRandom.current() ), configuration ); }
/** * Create a {@code RandomValues} with default configuration * * @return a {@code RandomValues} instance */ public static RandomValues create() { return new RandomValues( new RandomGenerator( ThreadLocalRandom.current() ) ); }
/** * Create a {@code RandomValues} using the given {@link Random} with given configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( Random random, Configuration configuration ) { return new RandomValues( new RandomGenerator( random ), configuration ); }
/** * Create a {@code RandomValues} using the given {@link Random} with default configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( Random random ) { return new RandomValues( new RandomGenerator( random ) ); }
/** * Create a {@code RandomValues} using the given {@link SplittableRandom} with given configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( SplittableRandom random, Configuration configuration ) { return new RandomValues( new SplittableRandomGenerator( random ), configuration ); }
/** * Create a {@code RandomValues} using the given {@link SplittableRandom} with default configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( SplittableRandom random ) { return new RandomValues( new SplittableRandomGenerator( random ) ); }
/** * Create a {@code RandomValues} with the given configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( Configuration configuration ) { return new RandomValues( new RandomGenerator( ThreadLocalRandom.current() ), configuration ); }
/** * Create a {@code RandomValues} with default configuration * * @return a {@code RandomValues} instance */ public static RandomValues create() { return new RandomValues( new RandomGenerator( ThreadLocalRandom.current() ) ); }
/** * Create a {@code RandomValues} using the given {@link SplittableRandom} with default configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( SplittableRandom random ) { return new RandomValues( new SplittableRandomGenerator( random ) ); }
/** * Create a {@code RandomValues} using the given {@link Random} with given configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( Random random, Configuration configuration ) { return new RandomValues( new RandomGenerator( random ), configuration ); }
/** * Create a {@code RandomValues} using the given {@link Random} with default configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( Random random ) { return new RandomValues( new RandomGenerator( random ) ); }
/** * Create a {@code RandomValues} using the given {@link SplittableRandom} with given configuration * * @return a {@code RandomValues} instance */ public static RandomValues create( SplittableRandom random, Configuration configuration ) { return new RandomValues( new SplittableRandomGenerator( random ), configuration ); }