nextDouble method

double nextDouble()

Returns random double value between 0.0 to 1.0.

Implementation

double nextDouble() {
  return sample();
}