- 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 Randomget()abstract booleannextBoolean()abstract bytenextByte()abstract doublenextDouble()abstract floatnextFloat()abstract intnextInt()abstract longnextLong()abstract shortnextShort()
-
-
-
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()
-
-