public static <R extends RandomGenerator> void
	random(final RandomGeneratorFactory<? extends R> factory) {
		requireNonNull(factory);
		CONTEXT.set(new TLR<>(factory::create));
	}
Set a new {@link RandomGeneratorFactory} for the <em>global</em> scope.

@param factory the random generator factory
@throws NullPointerException if the {@code factory} object is {@code null}.
jenetics/src/main/java/io/jenetics/util/RandomRegistry.java