Package org.apache.commons.rng.core.source32

Concrete algorithms for int-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

  • A source of randomness must inherit from IntProvider
  • The "provider" must specify one way for setting the seed. For a given seed, the generated sequence must always be the same.
  • The "provider" must implement methods getStateInternal and setStateInternal in order to save and restore the state of an instance (cf. BaseProvider).
  • When a new class is implemented here, user-access to it must be provided through associated RandomSource factory methods defined in module "commons-rng-simple".