AntiPattern
Unread Counter Write Storm
unread-counter-write-storm
I want to avoid the "a -> ..." — I would like to do the following with Java stream. Tension: But it breaks, the expression of code as a series of transformations. Outcome: I do not found a way to compose functions in stream. | I do not believe it is possible to retrieve data at "another point of the stream". — myAs.stream() .map(A::getS) .filter(A::aFilter) .map("back to stream of A"). | Add a method to A: — I would like to do the following with Java stream:.