Gets the next random
Int
from the random number generator in the specified
range
.
Generates an
Int
random value uniformly distributed in the specified
range
:
from
range.start
inclusive to
range.endInclusive
inclusive.
Exceptions
IllegalArgumentException
- if
range
is empty.