Topics

Leave a Reply

14 Comments on "Java 8 Lambda Basics 22 – The foreach iteration"

Notify of
avatar

Shoaib Khan
Guest
Shoaib Khan
3 months 13 hours ago

I think the parallelism that is implied here is SIMD sort of stuff, not the spawning of new threads.

Dipak Gupta
Guest
Dipak Gupta
3 months 26 days ago

trust me sir, you are a true genius. You teach and explain very well to audience.

Prashant aarya
Guest
Prashant aarya
8 months 9 days ago

someone help me out!!! on line no 31 how the JVM came to know that the p is of type person??

Łukasz Tarała
Guest
Łukasz Tarała
5 months 4 days ago

The matter is in declaration of list people (List<Person> people), generic tag determines the type You are asking for.

Krishna Solanki
Guest
Krishna Solanki
7 months 6 hours ago

people.forEach(__)  You see foreach method is using for people and people is list of Person.

Prashant aarya
Guest
Prashant aarya
8 months 10 days ago

someone help me out!!! on line no 31 how the JVM came to know that the p is of type person??

Łukasz Tarała
Guest
Łukasz Tarała
5 months 5 days ago

The matter is in declaration of list people (List<Person> people), generic tag determines the type You are asking for.

Krishna Solanki
Guest
Krishna Solanki
7 months 13 hours ago

people.forEach(__)  You see foreach method is using for people and people is list of Person.

PraveenRaj 4ever
Guest
PraveenRaj 4ever
9 months 12 days ago

Why u mentioned as for in loop ? all time i heard like for each in java.

PraveenRaj 4ever
Guest
PraveenRaj 4ever
9 months 12 days ago

Why u mentioned as for in loop ? all time i heard like for each in java.

Quảng Long Trần
Guest
Quảng Long Trần
1 year 1 month ago

Very good tutor!

Quảng Long Trần
Guest
Quảng Long Trần
1 year 1 month ago

Very good tutor!

A S M Sarwar Zahan
Guest
A S M Sarwar Zahan
1 year 3 months ago

This is the most elegant way to teach "lamdas", I came across on internet so far. You are really an awesome tutor and most importantly providing all this highly paid skills for free!! This note is a means to show my gratitude towards your effort and ethical maturity. Is it possible in the near future to provide us an advanced tutorial on "lamdas" soon!! I would greatly appreciate it!!

A S M Sarwar Zahan
Guest
A S M Sarwar Zahan
1 year 3 months ago

This is the most elegant way to teach "lamdas", I came across on internet so far. You are really an awesome tutor and most importantly providing all this highly paid skills for free!! This note is a means to show my gratitude towards your effort and ethical maturity. Is it possible in the near future to provide us an advanced tutorial on "lamdas" soon!! I would greatly appreciate it!!

wpDiscuz