List of usage examples for java.util Random subclass-usage
From source file Random64.java
/**
* a linear random method based on xor shifts--which is a fast way to do LFSR
* --ie one clock per bit is slow. This is faster per step that java Random.
*
* This does better than LCC generators (ie passes the monkey tests and DNA
* tests where LCG dont). In other words it does not have the hyperplane
From source file net.kahowell.xsd.fuzzer.util.CompositeRandom.java
/**
* Wraps {@link java.util.Random} and {@link RandomData} in the same class.
* This allows convenient access to methods of both.
*
* Copyright (c) 2012 Kevin Howell. See LICENSE file for copying permission.
*
From source file Randomizer.java
public class Randomizer extends Random { /** * */ private static final long serialVersionUID = -4644693860576394313L;
From source file msi.gama.util.random.GamaRNG.java
/**
* Class GamaRNG.
*
* @author drogoul
* @since 4 juin 2015
*
From source file MersenneTwister.java
/**
* <h3>Mersenne Twister and MersenneTwisterFast</h3>
* <p>
* <b>Version 3 </b>, based on version MT199937(99/10/29) of the Mersenne
* Twister algorithm found at <a
* href="http://www.math.keio.ac.jp/matumoto/emt.html"> The Mersenne Twister
From source file com.pinterest.pinlater.backends.redis.DummyRandom.java
/** * Dummy Random class which only provides configurable nextInt() and nextInt(int i) API. */ public class DummyRandom extends Random { private int nextInt = 0;
From source file Randoms.java
public class Randoms extends java.util.Random { public Randoms(int seed) { super(seed); }
From source file JVMRandom.java
/**
* <p><code>JVMRandom</code> is a wrapper that supports all possible
* Random methods via the {@link java.lang.Math#random()} method
* and its system-wide {@link Random} object.</p>
*
* @since 2.0
From source file org.apache.mahout.common.RandomWrapper.java
public final class RandomWrapper extends Random { private static final long STANDARD_SEED = 0xCAFEDEADBEEFBABEL; private final RandomGenerator random;
From source file edu.cornell.med.icb.util.RandomAdapter.java
/**
* An adapter to use the colt RandomEngine implementations when java.util.Random is expected.
*
* @author Fabien Campagne
* Date: Oct 12, 2007
* Time: 5:41:06 PM