code: public DoubleStream doubles(long streamSize, double randomNumberOrigin,
                                  double randomNumberBound) {
          if (streamSize < 0L)
              throw new IllegalArgumentException(BAD_SIZE);
          if (!(randomNumberOrigin < randomNumberBound))
              throw new IllegalArgumentException(BAD_RANGE);
          return StreamSupport.doubleStream
              (new RandomDoublesSpliterator
               (0L, streamSize, randomNumberOrigin, randomNumberBound),
               false);
      }
docs: Returns a stream producing the given {@code streamSize} number of
  pseudorandom {@code double} values, each conforming to the given origin
  (inclusive) and bound (exclusive).
  
  @param streamSize the number of values to generate
  @param randomNumberOrigin the origin (inclusive) of each random value
  @param randomNumberBound the bound (exclusive) of each random value
  @return a stream of pseudorandom {@code double} values,
  each with the given origin (inclusive) and bound (exclusive)
  @throws IllegalArgumentException if {@code streamSize} is
  less than zero
  @throws IllegalArgumentException if {@code randomNumberOrigin}
  is greater than or equal to {@code randomNumberBound}
  @since 1.8