Map in Java & HashMap example | Java Collections # 9 | Java9s.com

Publié le: 12 mai 2016
sur la chaîne: java9s
43,112
348

Download Code: http://java9s.com/core-java/map-in-ja...
Map in java has a key and value pair objects.
The combination of this Key and value pair is called an ENTRY
With respect to Hierarchy, Map does not come under normal collections.
The reason is, All other collections like List, Set, Queue deal with elements where there is a single object at a level,
Where as Map works with key value pairs.
Due to this new model, Map needs differnt set of methods to work with entries and this is the reason why Map does not
extend collection interface.
One of the Important rules we got to remember while using Map based datastructures is that
- They do not allow duplicates as part of the keys.
In this video tutorial, i have explianed the concept of Map and its concrete implementation with HashMap Example
I have also mentiond about HashTable and how it is synchronized.

Java Collections Tutorials Playlist:

Complete Java Beginners Tutorials:
   • Complete Java Tutorials |  java progr...  

Multithreading in Java tutorial:
   • Multithreading in Java Tutorials by J...  

Spring 3 MVC Framework tutorials:
   • Spring 3 MVC Framework Tutorials  

Spring Framework Tutorials:
   • Spring Framework Tutorials | Java9s  

Design Patterns in Java:
   • Design Patterns Tutorials in Java | G...  

Complete Generics Tutorials playlist
   • Generics in Java Tutorials | Java9s T...  


Sur cette page du site, vous pouvez voir la vidéo en ligne Map in Java & HashMap example | Java Collections # 9 | Java9s.com durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur java9s 12 mai 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 43,112 fois et il a aimé 348 téléspectateurs. Bon visionnage!