Parameters
int
lower
Lower bound, inclusive. Range: lower ≤ upper.
int
upper
Upper bound, inclusive. Range: lower ≤ upper.
Random
randomSource
The random number generator which is used to draw random samples.