java.lang.Object
swim.math.Random
swim.math.MersenneTwister64
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MersenneTwister64
public MersenneTwister64(long seed) -
MersenneTwister64
public MersenneTwister64(long[] key) -
MersenneTwister64
public MersenneTwister64()
-
-
Method Details
-
nextByte
public byte nextByte() -
nextShort
public short nextShort() -
nextInt
public int nextInt() -
nextLong
public long nextLong() -
nextFloat
public float nextFloat() -
nextDouble
public double nextDouble()- Specified by:
nextDouble
in classRandom
-
nextBoolean
public boolean nextBoolean()- Specified by:
nextBoolean
in classRandom
-