long
-based sources of randomness
For internal use only: Direct access to classes in this package is discouraged, as they could be modified without notice.
Notes for developers
LongProvider
getStateInternal
and
setStateInternal
in order to save and restore the state of an
instance (cf. BaseProvider
).
RandomSource
factory methods
defined in module "commons-rng-simple".
Interface | Description |
---|---|
RandomLongSource |
Source of randomness that generates values of type
long . |
Class | Description |
---|---|
LongProvider |
Base class for all implementations that provide a
long -based
source randomness. |
MersenneTwister64 |
This class provides the 64-bits version of the originally 32-bits
Mersenne Twister . |
SplitMix64 |
A fast RNG, with 64 bits of state, that can be used to initialize the
state of other generators.
|
TwoCmres |
Random number generator designed by Mark D. Overton.
|
XorShift1024Star |
A fast RNG.
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.