Class Rand

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    RandomJava, RandomMersenneTwister

    public abstract class Rand
    extends java.util.Random
    The Rand class is an abstract class that is utilized as an interface for random classes.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Rand()
      Constructs a Rand.
      Rand​(long seed)
      Constructs a Rand.
    • Method Summary

      • Methods inherited from class java.util.Random

        doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Rand

        public Rand()
        Constructs a Rand.
      • Rand

        public Rand​(long seed)
        Constructs a Rand.
        Parameters:
        seed - the seed