Java 8 Tutorials : Episode 3 - Streams

preview_player
Показать описание
Third episode of me trying to teach you all the changes introduced in Java 8. We now go on to learn a way to apply all the stuff learned in previous episodes, specifically using the Stream API. If you like sorting throughout inhuman amounts of data with the collection API, then you'll love Streams. Please enjoy the video, and leave a like, favorite, or subscribe if you'd like. And as always, leave a comment to tell me what you think.
Рекомендации по теме
Комментарии
Автор

Thanks so much for the Java 8 tutorials. You're the best. People will start looking for these java 8 tutorials in the near future so I hope you'll do a few more videos cuz you're awesome. 

officialkanyau
Автор

I like your style keep up the good work.

rshahdelhi
Автор

i dont no what your doing but it looks cool

finalkillcamzz
Автор

You could make this easier to watch if you just typed out the beans ahead of time so we didn't have to watch you write getters and setters for 10 minutes.

yissssss
Автор

I gave up after 8 mins of watching boilerplate code being written. You could easily write this in advance and save us all a lot of time.

joepage
Автор

A slightly more "streamified" approach to producing the same output would be to replace the .toArray() call with .forEach():
 
(...).forEach(s -> {System.out.println(s);});

This way, the for loop is eliminated.

ericford
Автор

For all the people cribbing about boilerplate code...streams start at 15:33.

tourniquet
Автор

on the line with ".toArray((l) -> {return new String[l]; });"

How can you just write that "l" there without declaring it previously?

smitti
Автор

Please use autocomplete and Eclipse code-generator to generate constructors... And code templates... Not using those features makes Eclipse a very unreliable and heavyweight Notepad.

zyroncool
Автор

The guy is pretty confused himself. I gave up watching this video after few minutes.

cksharma