lower
and upper
(endpoints included). The generated integer will be random, but not cryptographically secure. To generate cryptographically secure integer sequences, use nextSecureInt
.
Preconditions:
lower < upper
(otherwise an IllegalArgumentException is thrown.)lower
and less than or equal to upper
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|