| Author |
HashMap and LinkedHashMap
|
S Majumder
Ranch Hand
Joined: Jun 03, 2009
Posts: 243
|
|
Hi exery body what is the difference between HashMap & LinkedHashMap ?
regards,
S
|
 |
Muhammad Khojaye
Ranch Hand
Joined: Apr 12, 2009
Posts: 341
|
|
|
Please search. Surely, you will get many valuable replies.
|
http://muhammadkhojaye.blogspot.com/
|
 |
Jitendra Takalkar
Greenhorn
Joined: Jan 12, 2007
Posts: 9
|
|
HashMap is an implementation of Map interface. LinkedHashMap which extends HashMap i.e. implementation of Map interface. The differnce between the HashMap and LinkedHashMap is in the way of implementation of Hash table.
HashMap:
no guarantees as to the order of the map
LinkedHashMap:
it maintains a doubly-linked list running through all of its entries. This linked list defines the iteration ordering.
|
 |
 |
|
|
subject: HashMap and LinkedHashMap
|
|
|