tinyscalautils.util.FastRandom
See theFastRandom companion class
object FastRandom extends FastRandom
A thread-safe, unseeded fast random number generator.
The implementation relies on ThreadLocalRandom
, which can be shared across threads without contention. Java's fancier generators are not used.
This generator cannot be re-seeded (the setSeed
method throws UnsupportedOperationException
).
Attributes
- Companion
- class
- Source
- FastRandom.scala
- Graph
-
- Supertypes
- Self type
-
FastRandom.type
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Attributes
- Inherited from:
- Random
Concrete fields
Interruptible variant, same as the interruptible
extension, but cached for performance.
Interruptible variant, same as the interruptible
extension, but cached for performance.
Attributes
- Source
- FastRandom.scala
In this article