Hi,
In chapter 7, "Creating parallel streams":
On the other hand, flatMap() creates a new stream that is not parallel by default, regardless of whether the underlying elements were parallel.
Also in chapter 7, question 13 the explanation says:
flatMap() is a new stream that is not parallel by default, even though its elements are parallel streams.
But the truth is that flatMap preserves the parallel attribute of the stream going in.
It's the Stream builder the one who sets the parallel attribute to false in the new Stream.