title: Infinite string creation
body: <p>I would like to make an 'infinite' list of strings for an application. I attempted to use this.... </p>
  
  <pre><code>public static void runinfinite(int length) {
      String lastString= " ";
      while (true) {
          if (lastString.length() &gt; length)
              break;
          lastString = lastString.trim();
          for (char c0 = 'a'; c0 &lt;= 'z'; c0++) {
              lastString += c0;
              action(lastString);
          }
      }
  }
  </code></pre>
  
  <p>It only gives me this: <code>abcdefghijklmnopqrstuvwxyz</code>. Does anyone have a block of code that will make strings 'infinitely'?</p>
  
  <p><strong>Edit:</strong> I need it to make a list of strings like <a href="http://pastebin.com/KVZCcHup" rel="nofollow">this example</a>:  [doesn't need to be in the same order, just a bunch of strings]</p>
  
  <p><strong>Edit 2:</strong> I want to make <a href="https://github.com/gravypod/RainbowTabel/blob/master/src/com/gravypod/RainbowTabel/BruteForce.java" rel="nofollow">this example</a> work better, and run forever.</p>