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.)lowerand less than or equal to upper.
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |