code: public static double nextDouble(final double startInclusive, final double endInclusive) {
          Validate.isTrue(endInclusive >= startInclusive,
                  "Start value must be smaller or equal to end value.");
          Validate.isTrue(startInclusive >= 0, "Both range values must be non-negative.");
  
          if (startInclusive == endInclusive) {
              return startInclusive;
          }
  
          return startInclusive + ((endInclusive - startInclusive) * RANDOM.nextDouble());
      }
docs: <p>
  Returns a random double within the specified range.
  </p>
  
  @param startInclusive
  the smallest value that can be returned, must be non-negative
  @param endInclusive
  the upper bound (included)
  @throws IllegalArgumentException
  if {@code startInclusive > endInclusive} or if
  {@code startInclusive} is negative
  @return the random double