Stream foreach with multiple values?
<p>I have an <code>ArrayList&lt;Integer&gt;</code> with an even amount of elements. How can I use <code>Stream.forEach</code> to parse 2 values at a time?</p>

<pre><code>x.forEach((a, b) -&gt; System.out.println(a.toString() + "-" + b.toString());
</code></pre>

<p>This doesn't work.</p>