Topics

Leave a Reply

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

Notify of
avatar

Balkrushna Wagh
Guest
Balkrushna Wagh
21 days 7 hours ago

Waiting for more sessions on Java8 Streams

Balkrushna Wagh
Guest
Balkrushna Wagh
21 days 7 hours ago

Waiting for more sessions on Java8 Streams

disekjoumoer
Guest
disekjoumoer
27 days 2 hours 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
27 days 2 hours 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
1 month 1 day 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
1 month 1 day 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
1 month 2 days ago

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

k4sper ski
Guest
k4sper ski
1 month 2 days ago

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

Julia Chu
Guest
Julia Chu
1 month 23 days ago

<3<3<3

Julia Chu
Guest
Julia Chu
1 month 23 days ago

<3<3<3

1 2 3 5
wpDiscuz