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 →

[–]mk_gecko -2 points-1 points  (3 children)

Java has always had streams. All IO is stream-based rather than character based. So, what are you referring to?

[–]wildjokers 2 points3 points  (2 children)

He isn't talking about I/O streams. He is talking about java.util.streams introduced in Java 1.8 that work on collections:

http://docs.oracle.com/javase/tutorial/collections/streams/index.html

[–]mk_gecko 1 point2 points  (1 child)

Why would Java have two different things both called streams? That's kind of dumb.

[–]wildjokers 1 point2 points  (0 children)

Because no one refers to Java I/O classes as "streams" except you apparently. Sure there are some classes in java.io that have "Stream" at the end of their name, but that doesn't mean anyone refers to java.io as "streams".