nextDouble
Gets the next random Double value uniformly distributed between 0 (inclusive) and 1 (exclusive).
Gets the next random Double
from the random number generator in the specified range.
Generates a Double
random value uniformly distributed between the specified from (inclusive) and until (exclusive) bounds.
from and until must be finite otherwise the behavior is unspecified.
Exceptions
IllegalArgumentException
- if from is greater than or equal to until.