title: Getting return list from forEach java 8
body: <p>I am trying to use a stream for something and I think I have a conceptual misunderstanding. I am trying to take an array, convert it to a stream, and .forEach item in the array I want to run a function and return a list of the results of that function from the foreach. </p>
  
  <p>Essentially this:</p>
  
  <pre><code>Thing[] functionedThings = Array.stream(things).forEach(thing -&gt; functionWithReturn(thing))
  </code></pre>
  
  <p>Is this possible? Am I using the wrong stream function?</p>