| HashMap | LinkedHashMap |
| underlying data structure if Hashtable | Underlying Data structure is Hashtable+Linkedlist |
| Insertion order is not preserved | Insertion order is preserved |
| Introduced in version 1.2 | Introduced in version 1.4 |
Scripting is sorcery
| HashMap | LinkedHashMap |
| underlying data structure if Hashtable | Underlying Data structure is Hashtable+Linkedlist |
| Insertion order is not preserved | Insertion order is preserved |
| Introduced in version 1.2 | Introduced in version 1.4 |