title: How to call a closure with multiple parameters from collect() method of a groovy collection?
body: <p>Let's say I have a closure:</p>
  
  <pre><code>def increment = {value, step -&gt;
     value + step 
  }
  </code></pre>
  
  <p>Now I want to loop over every item of my integers collection, increment it with 5, and save new elements to a new collection:</p>
  
  <pre><code>def numbers = [1..10]
  def biggerNumbers = numbers.collect {
        it + 5
  } 
  </code></pre>
  
  <p>And now I want to achieve the same result but by means of using <code>increment</code> closure. How can I do this? </p>
  
  <p>Should be something like this (wrong code below):</p>
  
  <pre><code>def biggerNumbers = numbers.collect increment(it, 5) //what's the correct name of 'it'??
  </code></pre>