Class RandomJava

  • All Implemented Interfaces:
    java.io.Serializable

    public class RandomJava
    extends Rand
    The RandomJava is the default java Random.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RandomJava​(long seed)
      Constructs a RandomJava with the specified seed.
    • 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

      • RandomJava

        @Inject
        public RandomJava​(long seed)
        Constructs a RandomJava with the specified seed.
        Parameters:
        seed - the seed value (using namespace Random)