public static void random(final RandomGenerator random) {
		requireNonNull(random);
		CONTEXT.set(() -> random);
	}
Set a new {@link RandomGenerator} for the <em>global</em> scope. The given
{@link RandomGenerator} <b>must</b> be thread safe, which is the case for
the Java {@link Random} class.

@see #random(RandomGeneratorFactory)

@param random the new {@link RandomGenerator} for the <em>global</em>
       scope
@throws NullPointerException if the {@code random} object is {@code null}
jenetics/src/main/java/io/jenetics/util/RandomRegistry.java