public double nextDouble(double n) {
        if (n <= 0)
            throw new IllegalArgumentException("n must be positive");
        return nextDouble() * n;
    }
Returns a pseudorandom, uniformly distributed {@code double} value
between 0 (inclusive) and the specified value (exclusive).

@param n the bound on the random number to be returned.  Must be
       positive.
@return the next value
@throws IllegalArgumentException if n is not positive
lts-core/src/main/java/com/github/ltsopensource/core/commons/concurrent/ThreadLocalRandom.java