- <init>
Construct a RandomDataImpl using the supplied RandomGenerator as the source of
(non-secure) random d
- getNatural
Returns an array representing n.
- getRan
Returns the RandomGenerator used to generate non-secure random data. Creates and
initializes a defau
- getSecRan
Returns the SecureRandom used to generate secure random data. Creates and
initializes if null.
- nextInt
Generate a random int value uniformly distributed betweenlower and upper,
inclusive.
- nextPermutation
Generates an integer array of length k whose entries are selected randomly,
without repetition, from
- shuffle
Uses a 2-cycle permutation shuffle to randomly re-order the last elements of
list.
- nextExponential
Returns a random value from an Exponential distribution with the given mean.Algorithm Description: U
- nextGaussian
Generate a random value from a Normal (a.k.a. Gaussian) distribution with the
given mean, mu and the
- nextPoisson
Algorithm Description: * For small means, uses simulation of a Poisson process
using Uniform dev
- nextInversionDeviate
Generate a random deviate from the given distribution using the inversion
method. [http://en.wikiped
- reSeed
Reseeds the random number generator with the supplied seed. Will create and
initialize if null.