Example usage for java.util Random subclass-usage

List of usage examples for java.util Random subclass-usage

Introduction

In this page you can find the example usage for java.util Random subclass-usage.

Usage

From source file org.recommender101.recommender.extensions.mahout.impl.random.RandomWrapper.java

/**
 * Copied from the current version (0.9) of mahout to avoid a bug 
 * that blocked everything (only on linux systems) until /dev/random 
 * had some new entropy to offer.
 * @author Jugovac
 *

From source file com.intel.cryptostream.random.OpensslSecureRandom.java

/**
 * OpenSSL secure random using JNI.
 * This implementation is thread-safe.
 * <p/>
 * 
 * If using an Intel chipset with RDRAND, the high-performance hardware 

From source file com.intel.chimera.random.OpensslSecureRandom.java

/**
 * OpenSSL secure random using JNI.
 * This implementation is thread-safe.
 * <p/>
 *
 * If using an Intel chipset with RDRAND, the high-performance hardware

From source file org.apache.hadoop.crypto.random.OpensslSecureRandom.java

/**
 * OpenSSL secure random using JNI.
 * This implementation is thread-safe.
 * <p/>
 * 
 * If using an Intel chipset with RDRAND, the high-performance hardware 

From source file com.intel.cryptostream.random.OsSecureRandom.java

/**
 * A Random implementation that uses random bytes sourced from the
 * operating system.
 */
public class OsSecureRandom extends Random implements Closeable {
    public static final Log LOG = LogFactory.getLog(OsSecureRandom.class);

From source file com.intel.chimera.random.OsSecureRandom.java

/**
 * A Random implementation that uses random bytes sourced from the
 * operating system.
 */
public class OsSecureRandom extends Random implements SecureRandom {
    public static final Log LOG = LogFactory.getLog(OsSecureRandom.class);

From source file nars.util.data.random.XorShift1024StarRandom.java

/** A fast, top-quality {@linkplain Random pseudorandom number generator} that
 * combines a long-period instance of George Marsaglia's Xorshift generators (described in <a
 * href="http://www.jstatsoft.org/v08/i14/paper/">&ldquo;Xorshift RNGs&rdquo;</a>, <i>Journal of
 * Statistical Software</i>, 8:1&minus;6, 2003) with a multiplication.
 * 
 * <p><strong>Warning</strong>: in version 2.2.3 the seeding procedure has been changed, as

From source file org.apache.hadoop.crypto.random.OsSecureRandom.java

/**
 * A Random implementation that uses random bytes sourced from the
 * operating system.
 */
@InterfaceAudience.Private
public class OsSecureRandom extends Random implements Closeable, Configurable {

From source file org.diorite.utils.math.DioriteRandom.java

public class DioriteRandom extends Random {
    private static final long serialVersionUID = 0;

    protected DioriteRandom() {
    }

From source file com.alvermont.terraj.stargen.util.NonRandomRandom.java

/**
 * A test random number generator that always returns a known sequence. This may
 * sound strange but its useful for testing the code and comparing it against C
 * code that otherwise uses a different random number generator.
 *
 * The random numbers generated by this class are derived from the value of PI.