Every Java developer more or less witness use of HashMap in software development process and quite familiar with the put/get operations associated with HashMap. However, how does HashMap works internally is not known by many people unless they make effort to see source code of java.util.HashMap class (JDK). Do you know HashMap internally uses an associative array data structure for storing key/Value pair ? It's very right time to learn internal working of HashMap and understand the underlying internal class structure, implementation and its working. Click here to find detailed explanation.
HashSet is the very obvious choice among developer when they want to store unique objects (Duplicates not allowed). Do you know HashSet uses HashMap internally to store unique objects?.If your answer is NO, then it is very right time to understand how HashSet maintain uniqueness using HahMap and makes our life easy. Here we have an detail discussion to learn and understand internal class structure, implementation and its internal working. Click here to find tutorial with detailed explanation.
LinkedList which LinkedHashMap maintain internally to keep control over order of elements inserted.
Click here to find detail discussion of internal class structure, implementation and its working.
====================== End of article ===========================