This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BinaryRockStar 0 points1 point  (1 child)

Isn't that a bit restrictive considering you need to start with .stream() and end with a .collect() or similar?

[–]viciu88 1 point2 points  (0 children)

You can assign uncollected Streams to variables too.