title: Shortest concise readable syntax to iterate over consecutive numbers from given range
body: <p>In <code>groovy</code> I can iterate through numbers using that simple syntax:</p>
  
  <pre><code>(1..10).each {
      do_domething it
  }
  </code></pre>
  
  <p>What is the shortest syntax to do that in Java? I am now exploring streams and I came up with such an idea:</p>
  
  <pre><code>IntStream.range(0, 10)
           .forEach(do_domething());
  </code></pre>
  
  <p>It is even longer than the traditional way (below), but seems to be more concise.</p>
  
  <pre><code>for (int i = 0; i &lt; 10; i++)
      do_domething()
  </code></pre>
  
  <p>I am just curious if there is shorter and readable way of doing it. I don't know everything about Java so I am just asking, probably there is no such thing, but I would like to make sure.</p>