Hi Ranjith, Videos which you have uploaded are very clear to understand. You should upload more videos on different concepts. It will be very helpful to other people.
practical demonstration of mishaps that can happen if you overlook to implement a good hashcode method and expect equals to work with hash based collection. Questions/Suggestions/Criticisms? please post a comment!
Bit contradiction : If system generated hashcode is different for two objects which have same attributes, then how new object with same key will replace the old one. HashMap hm = new HashMap(); hm.put(1,"aditya"); hm.put(1,"adityaNew"); s.o.p(hm); prints adityaNew Can you please clarify? Also please post some more videos ... its been long time no see :)
Thanks for posting this video...I have watched many videos on the same concept , but did not get clear idea about this, now I am crystal clear on this topic. Keep posting !!
Hello, nice videos. By the way, where are you these days..... Its been a while you have uploaded these videos. I see 2015 videos. Please upload new videos on Java on any concept, there is a learning curve in your videos. I guess, not only me, but many others are also waiting. Thanks.
Owesome buddy, Really like your videos. I was expecting you would explain why default hashcode will make your objects unique even if it's values are same and equal method is implemented
Your videos has some different level as compare to other Java Videos..Thamk u so much.. :) ..Please do a video on Threads in Java and how to avoid dead locks
Nice one on equals-hashcode contract. But my doubt is does hashcode implementation depend internally on equals method? Why would hashcode give different hash values if we override equals method?
Thanks Ranjit , it really helpful for me . But one thing i want to know that if we are not implementing hashcode method what internally happening that causes to store duplicate values and not able to get the expected name .
thanks Ranjith, I got 1 questions in an interview, why hashcode is required, cant only equals method do our job?, If we make our own collection classes, why java wants both equals and hashcode to compare 2 objects.
+Swapnil Bhosale - It is necessary when you want to establish equality of your custom Objects. How would you say if your Employee e1 and Employee e2 are same? e1 == e2 check is not sufficient when you establish equality based on fields inside Employee like e1.name, e1.id, etc.
I am fan of your videos sir But your playlist is very limited. Please more possible video make and upload Your teaching style and knowledge in java is so high no compare to you in you tube Thanks sir
Why it will causs bugs..you never explained that! Examples were great. But your explanation was not in details Pls explain why it is necessary to override hashcode if we override equals method. How does that work internally if we don t do the same
Hi Ranjith, Videos which you have uploaded are very clear to understand. You should upload more videos on different concepts. It will be very helpful to other people.
Beautifully explained.. do add more video on core java and new java versions
sir aap please aur topics pe bhi vdos banaye, its very helpful and knowledgeable for us, u r doing great job
Easy to understandable and I learnt so many things about eq & hash contract. Plz make video on Thread, synchronisation and thread executor framework
Hi Ranjith,
Videos which you have uploaded are very clear to understand. You should upload more videos on different concepts. It will be very helpful to other people.
Awesome explanation
EXCELLENT ONE. Thanks a lot for sharing
Very good examples and explanation, hoping to see more videos on topics like threads, spring and more of collections. Thanks
practical demonstration of mishaps that can happen if you overlook to implement a good hashcode method and expect equals to work with hash based collection. Questions/Suggestions/Criticisms? please post a comment!
Ranjith ramachandran...no criticism, ur videos are good...u explain things very nicely. hope, u'll make some more videos on other topics. 😇
Bit contradiction : If system generated hashcode is different for two objects which have same attributes, then how new object with same key will replace the old one.
HashMap hm = new HashMap();
hm.put(1,"aditya");
hm.put(1,"adityaNew");
s.o.p(hm);
prints adityaNew
Can you please clarify?
Also please post some more videos ... its been long time no see :)
Pretty neat, simple explanation!! It is always nice to see examples which explains the content. Keep it up!! Looking forward for more topics!!
Still watching your videos sir it is very useful actually.. Please make more videos..
Great example. I love when people post examples along with the theory. Good job
Nice and Simple Explanation..Thank q Sir...
very good explanation
Awesome explanation I ran out of videos from your channel . We expect many videos from different concepts
Great work keep going
clear explanation, thank you!!!
Thanks for this video related to hashCode and equal method
Thanks for posting this video...I have watched many videos on the same concept , but did not get clear idea about this, now I am crystal clear on this topic. Keep posting !!
Pls upload more videos on different java concepts/topics.. Thanks ...
Excellent video, explained very well
Very nice explanation. Good job. Thank you!
Completely impressed with the content of videos
Excellent explanation, clear and concise yeah! thanks
This is awesome stuff..keep up the good work
It is more helpfull to my Job interview point of view, Thank you very much, This is my first video I SUBSCRIBE Thank you
Good one..Plz keep posting....
thank you Ranjith, very useful information & easy to understand..
Thanks for the video ... Very informative and crystal clear
Making complex look simple. would appreciate if there are more clips on other java topics as well. Thumbs Up. :)
Hello, nice videos. By the way, where are you these days..... Its been a while you have uploaded these videos. I see 2015 videos. Please upload new videos on Java on any concept, there is a learning curve in your videos. I guess, not only me, but many others are also waiting. Thanks.
Your videos are quite helpful and you explains concept very well. Plz plz plz make videos on other java concepts like Multithreading, synchronization.
Very well explained..
Sir please upload more videos. They are really helpful for us.
Great videos Ranjith. Please keep posting them.
Awesome quality bro
Amazing Explaination!!
Nice example.
Owesome buddy, Really like your videos.
I was expecting you would explain why default hashcode will make your objects unique even if it's values are same and equal method is implemented
That was very helpful. Thank you!
Thank you very much!!!
I watched so many tutorials to understand that...
Please, make more tutorials
Superb explanation and very helpful.
Keep up the good work. :)
Nice explanation.
Thanks !!!! nice explanation...
Good explanation..
Excellent video Ranjith ramachandran
Excellent Tutorial Ranjith. Thanks a lot.
Your videos has some different level as compare to other Java Videos..Thamk u so much.. :) ..Please do a video on Threads in Java and how to avoid dead locks
Thanks Ranjith ... could you please upload video which explains how serialaizable interface works
Thank you so much. you explained really very well so that everybody can understand. this is going to help me a lot.
+ASHISH AGRAWAL Thanks!
Please do a video on Threads in Java and how to avoid dead locks .
awesome..
Thank you so much, awesome tutorial.
Nice one on equals-hashcode contract. But my doubt is does hashcode implementation depend internally on equals method? Why would hashcode give different hash values if we override equals method?
Great explanation Ranjith. Great job!
please do videos on mutithreading
thank u ...
Thanks Ranjit , it really helpful for me . But one thing i want to know that if we are not implementing hashcode method what internally happening that causes to store duplicate values and not able to get the expected name .
Very nice explanation Ranjit Thanks:D I serach alot on Internet for that i did't find such simple solution :D
Hi Ranjith,
Can you please make few videos on multi threading and concurrency in java 5 ?
Thanks Ranjith!... i really appreciate this!
this is because, we have to ensure that "For two equal objects we have to generate same hashcode"
thanks Ranjith !!!
thanks Ranjith, I got 1 questions in an interview, why hashcode is required, cant only equals method do our job?, If we make our own collection classes, why java wants both equals and hashcode to compare 2 objects.
sir whn u upload thread concurrency.................
Can you provide video on hashtable implementaion?
+m mehta , please see ruclips.net/video/c3RVW3KGIIE/видео.html
thanks!!
Just to add, the key Employeekey class should also be immutable.
As it is being used as key in map.
I want to know why are we overriding equals method is it necessary
+Swapnil Bhosale - It is necessary when you want to establish equality of your custom Objects. How would you say if your Employee e1 and Employee e2 are same? e1 == e2 check is not sufficient when you establish equality based on fields inside Employee like e1.name, e1.id, etc.
Please upload Java 8 Feature
sir when u upload thread concurrency?
+harish chowdary sure This week.
+Ranjith ramachandran Still u doesn't upload Thread Concurrency..............replay me sir...........
+Ranjith ramachandran Still u doesn't upload Thread Concurrency..............replay me sir...........
Fine... Understood...
plz upload thread Concurrency...................reply me?
hashset add duplicate elements because internally HashSet use HashMap
I am fan of your videos sir
But your playlist is very limited.
Please more possible video make and upload
Your teaching style and knowledge in java is so high no compare to you in you tube
Thanks sir
where are you ??? People need you!.. :)
Why it will causs bugs..you never explained that! Examples were great. But your explanation was not in details
Pls explain why it is necessary to override hashcode if we override equals method. How does that work internally if we don t do the same
may be you can check out how Hashmap works internally , there is video on this on same channel :)
Not intereseted
very nice explanation
Hi Ranjith,
Videos which you have uploaded are very clear to understand. You should upload more videos on different concepts. It will be very helpful to other people.
Thank you so much. you explained really very well so that everybody can understand. this is going to help me a lot.
sir whn u upload thread concurrency.................