Topics

Leave a Reply

53 Comments on "Java 8 Lambda Basics 23 – Introduction To Streams"

Notify of
avatar

Karthikeyan D
Guest
Karthikeyan D
4 months 9 days ago

This series of tutorial is excellent. Hats off !!!

Ashish Mishra
Guest
Ashish Mishra
4 months 24 days ago

Thanks for the wonderful tutorial. Coming from a Javascript background, I find streams quite easy to understand. But what is happening inside ? The analogy is perfect, but I am asking what is going on at the data-structure level. Is there a scope for parallel execution as well ?

Udi Shuchami
Guest
Udi Shuchami
5 months 16 days ago

This is a very good course. Any chance on a separate course on streams?

Balkrushna Wagh
Guest
Balkrushna Wagh
6 months 23 days ago

Waiting for more sessions on Java8 Streams

Balkrushna Wagh
Guest
Balkrushna Wagh
6 months 23 days ago

Waiting for more sessions on Java8 Streams

disekjoumoer
Guest
disekjoumoer
6 months 28 days ago

That analogy was poor. There was little relevance to various people all working on the same object. Threads would have been more useful here.

disekjoumoer
Guest
disekjoumoer
6 months 29 days ago

That analogy was poor. There was little relevance to various people all working on the same object. Threads would have been more useful here.

Aarold Aaroldson
Guest
Aarold Aaroldson
7 months 2 days ago

What's the advantage of the stream pattern over this code? :for(Person p : people){ if(!p.getLastName().startsWith("C")){ continue; } System.out.println(p.getFirstName());}I've checked both approaches and the code above executes in ~1332330 nanoTime. And your code executes in ~61750418. So it's about 60 million nanoTimes more than the old fashioned code. Any reply is appreciated

Aarold Aaroldson
Guest
Aarold Aaroldson
7 months 2 days ago

What's the advantage of the stream pattern over this code? :for(Person p : people){ if(!p.getLastName().startsWith("C")){ continue; } System.out.println(p.getFirstName());}I've checked both approaches and the code above executes in ~1332330 nanoTime. And your code executes in ~61750418. So it's about 60 million nanoTimes more than the old fashioned code. Any reply is appreciated

k4sper ski
Guest
k4sper ski
7 months 3 days ago

can I perform multiple isolated actions in foreach that is called on a stream?

1 2 3 6
wpDiscuz