Class Overview
This is a wrapper for java.util.Random to provide static access to
most of it's methods via a singleton, and to control the initial random seed.
Summary
Fields |
public
static
long |
seed |
|
[Expand]
Inherited Methods |
From class
java.util.Random
int
|
next(int arg0)
|
boolean
|
nextBoolean()
|
void
|
nextBytes(byte[] arg0)
|
double
|
nextDouble()
|
float
|
nextFloat()
|
synchronized
double
|
nextGaussian()
|
int
|
nextInt()
|
int
|
nextInt(int arg0)
|
long
|
nextLong()
|
synchronized
void
|
setSeed(long arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0)
|
final
void
|
wait(long arg0, int arg1)
|
|
Fields
Protected Constructors
protected
Random
(long seed)
Public Methods
public
static
synchronized
Random
getInstance
()
public
static
double
randomDouble
()
public
static
int
randomInt
()
public
static
int
randomInt
(int n)
public
static
UUID
randomUUID
()