tinyscalautils.util.FastRandom
See theFastRandom companion object
class FastRandom extends Random
Fast (but not thread-safe) random number generator.
The implementation relies on SplittableRandom
. Java's fancier generators are not used.
The generator is always seeded. If an unseeded generator is needed, use the FastGenerator
object directly; it can be shared harmlessly throughout an application (including across threads).
Attributes
- Note
-
The generator returned by
self
is ''not'' thread-safe, even though it subclassesjava.util.Random
. - Companion
- object
- Source
- FastRandom.scala
- Graph
-
- Supertypes
- Known subtypes
-
object FastRandom
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
In this article