| java.lang.Object | ||
| ↳ | java.util.Random | |
| ↳ | uk.ac.imperial.presage2.core.util.random.Random | |
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.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| seed | |||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the instance of
Random. | |||||||||||
Wrapper for
nextDouble() | |||||||||||
Wrapper for
nextInt() | |||||||||||
Wrapper for
nextInt(int) | |||||||||||
Wrapper for
randomUUID() | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.Random
| |||||||||||
From class
java.lang.Object
| |||||||||||