17.12 Java 8 Stream Api Features part 10 stream map reduce methods

  Рет қаралды 93,924

Telusko

Telusko

Күн бұрын

Пікірлер: 13
@pramilaemani666
@pramilaemani666 3 жыл бұрын
Just love the way you explain. Its very brief and to the point. I've never felt this easy watching other videos on these kind of topics... and more over lengthy videos of topics which we are learning, we lose interest sometimes.
@tulsimudaliar10
@tulsimudaliar10 3 жыл бұрын
Stream Api 8 was very helpful, pls can you make more videos in stream api covering intstream,double stream and also all methods of stream with example in detail. It will be very helpful...Lots of love and thankfulness to telusko .....
@gopalkannan4934
@gopalkannan4934 2 жыл бұрын
Thank you
@BHARATHISINGARESI
@BHARATHISINGARESI 3 ай бұрын
hello sir i have a doubt...when 2 interfaces have default methods with same name and a classs implementing both interfaces..then we have to override that default method in class...and when doing that getting error like nosuchmethodfound error. After i implemented casting it works..but only getting output of method in the class but not getting interfaces methods output even created different types of objects...so finally doubt is how to get the output of interface methods?
@RahulRajav
@RahulRajav 8 жыл бұрын
Good Morning sir, Thank you for the videos. I have a doubt in this program. This works:- System.out.println(values.stream().map(i -> i*2).reduce(0,(c,e) -> c+e)); but if i do it in the following manner it gives error(is it because stream cannot be used second time and onwards and perhaps it is using more than ones?) Stream S = values.stream(); System.out.println(S.map(i -> i*2).reduce(0,(c,e) -> c+e));
@yannced
@yannced 7 жыл бұрын
If your code is only the second part, it should work. However if you have the first and the second part it won't work because reduce is a terminal operation, and those can only be called once on a stream. Hope that helps, though its kinda late lol..
@sagaryadav-wb7jm
@sagaryadav-wb7jm 3 жыл бұрын
That dialogue at 4.50 I like it...😂❤️
@parasbhanot
@parasbhanot 8 жыл бұрын
Thank you for such easy explanation.
@traveltalks5476
@traveltalks5476 3 ай бұрын
Instead of directly jumping into the program better to give some short introduction on the topic.
@ankitrawat-acodebreaker
@ankitrawat-acodebreaker 4 жыл бұрын
it is not correct to say "create an object of interface" which you keep saying
@sadabhasan8218
@sadabhasan8218 6 жыл бұрын
i don't know why this Video is made ...if you are not explaining anything in the video..... wasted 5 mint.
@bittooaggarwal5776
@bittooaggarwal5776 3 жыл бұрын
Sir doesn't want to keep the video too long and I have not gone to the next video. He has made this great playlist about core java please follow it in a flow.
@NaveenMovva
@NaveenMovva 5 жыл бұрын
Okay bro, don't fool the people at least.
Stream API in Java
26:04
Telusko
Рет қаралды 342 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,7 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 269 #shorts
00:26
Это было очень близко...
00:10
Аришнев
Рет қаралды 6 МЛН
Java 8 STREAMS Tutorial
18:10
Oggi AI - Artificial Intelligence Today
Рет қаралды 742 М.
Lambda Expressions in Java - Full Simple Tutorial
13:05
Coding with John
Рет қаралды 756 М.
#99 Map Filter Reduce Sorted  in Java
9:14
Telusko
Рет қаралды 54 М.
Map and HashMap in Java - Full Tutorial
10:10
Coding with John
Рет қаралды 587 М.
Method Reference in Java 8
21:06
Telusko
Рет қаралды 185 М.
Java 8 Streams | map () & flatMap() Example | JavaTechie
15:37
Java Techie
Рет қаралды 218 М.
Java 1.8 New Features || Introduction to Streams ||  Session - 29 by Durga Sir
20:06
Durga Software Solutions
Рет қаралды 130 М.
Java Streams | Map & Collect Example | Tech Primers
9:38
Tech Primers
Рет қаралды 80 М.