- java.lang.Object
-
- swim.math.Random
-
- Direct Known Subclasses:
MersenneTwister64
public abstract class Random extends Object
-
-
Constructor Summary
Constructors Constructor Description Random()
-
Method Summary
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
-
get
public static Random get()
-
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()
-
-