I have seen other of your videos, and they are usually really good. This one was kind of confusing, jumping from one thing to another. I got the idea, and thanks for that, but watching your previous work I find this one unplanned.
What an Awesome explanation brother !! keep doing a good work, there will be evil people around who would not like anything and keep criticizing this but don't worry about them, god made them check your patience !!,thanks to them too :) !! Well done !!
Sir how to override the default methods of same name when a class implemented both the interfaces? Getting error as NoSuchMethodError while calling through object..tried by casting again but getting only ovverriden method output in class..how to get output of methods of interfaces?
It is better not to use parallel stream for small number of data; because, if you use parallel stream for 100 or 200 value and the operation on that data is not so big; jvm will spent more cpu time on managing the threads than actual operation.
sir, this one was little confusing. I am following your playlist and reached till here. I wanted to give my honest feedback, but still thanks for taking your time out and making this tutorial.
Thank you for the explanation! I have one small observation. In the last comment related to are streams reusable? in the background code, we are not invoking forEach on stream() but instead the syntax uses method reference. correct me if i am wrong. Sorry I see here the reference type is Stream itself. That's the difference.
I believe there are Intermediate and Terminal Operations/Methods available in Stream API but you have used word Terminate Method which sounds incorrect. Not sure !!!!!
values.add(i) giving me error cannot find symbol but i already defined using for loop. Below is the program public static void main(String[] args) { List values = new ArrayList(); for(int i=1; i
You have to create your threads because you have to understand what you are doing. Letting the system decide is inefficient , same as saying that since java use garbage collector you should not worry about memory usage at all. And thats wrong , the first thing a java profile tells you to do is to reduce useless allocation. Good programmer manage lifecycle themself. Lazy programmers says 'why should i have to think' ? IA is still not a reality mate, just marketing . And a processor is pretty dumb. Knowing the amounts of threads you PC manages ( hundreds .. ) its very unlikely 4 core are going to work for you only and if you will quickly end up having a streamParallel() calling a code with streamParallel(). So if the first uses 4 cores , the second can't . But the nested one in functional programming has to be evaluated first so at then end you only use 1 thread on the critical code.
Great work. One question why to stand there in a video and talk? We could have background voices for the explanation. This way we could focus more on the code, not on the hand gesture.
If we want to reuse the stream we can convert steam into List. so its not a drawback, list is different and stream is different. Correct me if i am wrong.
Hi Navin , thanks for the these videos it really helped. I need your help, actually in one of my project I need to capture a video from Set top box and display it on jframe. Right now I can capture STB video using video grabber card "Easycap" and ffmpeg command line tool. I have googled but I didn't got success to capture STB content using Java. Please help me.
3:30 to 4:50 that's not correct the OS doesn't work like that we can achive multithreading in a single core itself also if there are n-cores there is no guarentee that it have n-threads it can have more than that all those things are manages by operating system
may be pronunciation barrier. There r 153 likes and 4 dislikes. So it means there r many people following his videos to study. If u dont understand, clarify which way he can improve. Please don't just insult him. Navin, Thanks for ur videos and dont keep on doing. we r with u
I can understand almost everything .. except when he talks faster sometimes, maybe because Portugues is my native language turn it more easy to understand