title: Is there any way to do n-level nested loops in Java?
body: <p>In other words, can I do something like</p>
  
  <pre><code>for() {
      for {
         for {
         }
      }
  }
  </code></pre>
  
  <p>Except N times? In other words, when the method creating the loops is called, it is given some parameter N, and the method would then create N of these loops nested one in another?</p>
  
  <p>Of course, the idea is that there should be an "easy" or "the usual" way of doing it. I already have an idea for a very complicated one.</p>