- java.lang.Object
-
- swim.math.Random
-
- Direct Known Subclasses:
MersenneTwister64
public abstract class Random extends Object
-
-
Constructor Summary
Constructors Constructor Description Random()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Random
get()
abstract boolean
nextBoolean()
abstract byte
nextByte()
abstract double
nextDouble()
abstract float
nextFloat()
abstract int
nextInt()
abstract long
nextLong()
abstract short
nextShort()
-
-
-
Method Detail
-
nextByte
public abstract byte nextByte()
-
nextShort
public abstract short nextShort()
-
nextInt
public abstract int nextInt()
-
nextLong
public abstract long nextLong()
-
nextFloat
public abstract float nextFloat()
-
nextDouble
public abstract double nextDouble()
-
nextBoolean
public abstract boolean nextBoolean()
-
get
public static Random get()
-
-