**Note:** this module has been deprecated. See `ceylon.random` for its replacement.
Ceylon Random provides:
- a pseudorandom number generator ([[LCGRandom]]),
- toplevel utility functions to shuffle streams or arrays ([[randomize]]
and [[randomizeInPlace]]), and
- an easy to implement interface for use by third party random number generators
([[Random]]).
To generate random numbers, create and use an instance of [[LCGRandom]]:
// Create a random number generator
value random ...
Version0.0.5compared with
Version Details
| 0.0.4 | 0.0.5 | |
|---|---|---|
| Release date | Feb 13, 2021 | Feb 13, 2021 |
| Licenses | None | None |
| Vulnerabilities | None | None |
