title: Java 8 way to repeat a block of code x times
body: <p>Maybe a normal for loop is still the right way but I wanted to see if there is a more succinct way to do it in java 8.</p>
  
  <pre><code> for (int i = 0; i &lt; LIMIT; i++) {
       // Code
   }
  </code></pre>
  
  <p>Is there a more java 8 way to do this.  I don't actually need i just need to repeat something x number of times.</p>
  
  <p>Thanks,
  Nathan</p>