Sometimes I want to perform a set of operations on a stream, and then process the resulting stream two different ways with other operations.
Can I do this without ha
You can also move the stream generation into separate method/function that returns this stream and call it twice.