title: How many times can I use randomGenerator.nextDouble() before I need to reseed?
body: <p>I'm using the <code>Random</code> class in Java as a pseudo-random number generator. I'm using the function nextDouble a lot of times (~10^5). How many times before I have to reseed to prevent from getting the same numbers? Is reseeding needed?</p>
  
  <pre><code>    Random generator = new Random();
      double[] numbers = new double[n];
      for (int i = 0; i &lt; n; i++) numbers[i] = generator.nextDouble();
  </code></pre>
  
  <p>This is for an experiment, the numbers will be used as coordinates for points on a space, so I want the distribution to be as uniform as possible.</p>
  
  <p>Also how do I reseed? Where do I get the int seed from?</p>