#8 - What is HashMap? How to iterate HashMap?
HTML-код
- Опубликовано: 29 авг 2024
- #HashMap #NaveenAutomationLabs
In this video, I have explained what is HashMap, basics properties of Hashmap and how to iterate Hashmap using various methods.
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
www.youtube.co...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/...
Paid courses (Recorded) videos:
naveenautomati...
For Java & Selenium - naveenautomatio...
For API (Manual + Automation) - naveenautomatio...
I am gratified by the way you speak out, dismantling each line while you code and that clarifies every doubt one could face. Your way of teaching is fabulous, I am beginning in Core Java and I am glad to have found your channel after struggling through the net for days for some explanations that made sense to a beginner like me. Keep up your great work Mr.Naveen!! :)
Thanks a lot for this video.
I was struggling with hashmap iteration for few days.
But now I can do that seamlessly.
I was very much confused about HashMap, but by seeing your video its clear. It has detailed explanation in simple words. Thank you Naveen. Keep adding such valuable contents.
Thanks Naveen, I'm Loving this series.. Thanks a ton ..😊
sir u r explaining in so easy way..thnku so mch
Still on top, appreciable content sir
You are an amazing teacher. Very detailed explanation with clear examples. You make learning easy
Thanks for watching :) glad that you liked it
Excellent explanation 👌 👏 NAVEEN bro, keep up the good work.
I was just learning this one!!! Thanks for sharing.
maza aa gaya, thanks sir,.
A useful one. Thanks for sharing. Hope this HashMap series help me in my Excel Data fetch logic. I have always had a doubt on this part. Thanks once again Naveen :-)
Much needed video. Thank you sir. Also, Can we also get video on how to create Rest Api using lambda in ## "JSON" format. ##
Great video. Crisp and detailed..
Hi Naveen, Thanks for the great video series, this is very useful. One request i have, like can you please share the notes in pdf or doc format ?that would be very helpful😊.
great work bro, keep doing it, thanks
traverse over java 8 stream is good to know. Thanks, Naveen. can u create a video on a complex hashmap where the key is string and the value may be another collection like ArrayList or another map? and traversal over this kind of map
Very good explication!
Awesome sir
Thank you so much Naveen 😇
My pleasure 😊
Hi Naveen,
Thanks for the great video.
I have one question: As you have mentioned we can't have a duplicate key in the hashmap but in case we are having duplicate keys the value corresponding to that key gets changed when the second duplicate key comes.
The Same you have demonstrated with NULL as the key. It overrides Berlin in your case with LA.
So I meant to say in case I have duplicate keys and multiple null keys it won't be a problem while storing in Hashmap.
Thanks naveen
Thanks
Hi Naveen, Could you please upload a video regarding java program ,how to find maximum, minimum,2nd maximum character occurrence in a string.
Hi Naveen, is there any method where i will pass value and get the corresponding key in hashmap. Ur reply will be highly appreciated.
Not able to find GITHUB link for collections , could you please share naveen. Thank you so much for the videos .
At 13:26, now it's taking Map.Entry rather than Entry. Is it got obselete?
Iterator it1 = capitalMap.entrySet().iterator();
charan sparsh.
Hi Naveen . on line 38 i get : type mismatch cant convert from boolean to String . And if i change the type to boolean then the output is infinite with key = true , value = null .. Help ..
Thank you!
can we use the .foreach() w/ lamba method in java 11?
Hi Naveen , what is meaning of hash in HashMap, why we called it HashMap,HashTable?
its cool name
becouse Hashtable , Hashmap HashSet are using hashing data structure for store the data All are implements hashCode( ) method to genarate a unique number for each object this hashCode method is Object class method And according this hashCode data store into particular index and index also generated according to hashCode of object .
pls share github objectrepositories
Why not:
for (String key : capitalMap.keySet()) {
System.out.println("KEY= "+key+" VALUE= "+capitalMap.get(key));
}
It's far cleaner ?