- Companion
- class
Value members
Concrete methods
Lift Java Random to this algebra. Note: this implies the ability for external locations to manipulate the underlying state without referential transparency.
Lift Java Random to this algebra. Note: this implies the ability for external locations to manipulate the underlying state without referential transparency.
Creates Several Random Number Generators and equally allocates the load across those instances.
Creates Several Random Number Generators and equally allocates the load across those instances.
From the java class docs: https://docs.oracle.com/javase/8/docs/api/java/util/Random.html#java.util.Random
Instances of java.util.Random are threadsafe. However, the concurrent use of the same java.util.Random instance across threads may encounter contention and consequent poor performance. Consider instead using ThreadLocalRandom in multithreaded designs.
Creates a new random number generator using a single integer seed.
Creates a new random number generator using a single integer seed.