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