title: Java 8 apply function to all elements of Stream without breaking stream chain
body: <p>Is there a way in Java to apply a function to all the elements of a <code>Stream</code> without breaking the <code>Stream</code> chain? I know I can call <code>forEach</code>, but that method returns a <code>void</code>, not a <code>Stream</code>.</p>