LinkedHashMap is child class of HashMap and it is almost same as HashMap except the below differences.
HashMap | LinkedHashMap |
Underlying data structure of HashMap is HashTable. | Underlying data structure of LinkedHashMap is HashTable + LinkedList |
Insertion order is not preserved. | Insertion order is preserved.. |
Introuduced in Java1.2. | Introuduced in Java1.4. |
Congratulations for posting such a useful blog. Your blog isn’t only informative but also extremely artistic too. There usually are extremely couple of individuals who can write not so easy articles that creatively. Keep up the good writing !!
Youre so awesome, man! I cant believe I missed this blog for so long. Its just great stuff all round. Your design, man…too amazing! I cant wait to read what youve got next. I love everything that youre saying and want more, more, MORE! Keep this up, man! Its just too good.
Very good site … the concepts are very clear and understandable…