Not bad, but instead using the filter operation in your "Processing Order" section, you should use the peek method. This is an intermediate operation that return the same stream as in input. The purpose is to debug on elements in the stream for example.
Not bad, but instead using the filter operation in your "Processing Order" section, you should use the peek method.
This is an intermediate operation that return the same stream as in input. The purpose is to debug on elements in the stream for example.