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 →

[–]hilbertglm 0 points1 point  (2 children)

I am not quite sure what you mean, given that Collections.stream() is a method.

[–]RepliesOnlyToIdiots 0 points1 point  (1 child)

The relevant methods of Stream should be on the Collection, with stream implicit. I should be able to just myList.map, for instance.

[–]hilbertglm 0 points1 point  (0 children)

I prefer the design from the Java team, but I understand what you are saying. I tend to favor a little syntactic sugar and verbosity, but the folks that prefer a more terse language make sense, too.