Java collections maintaining insertion order

Viewed 151581

Why do some collection data structures not maintain the order of insertion? What is the special thing achieved compared to maintaining order of insertion? Do we gain something if we don't maintain the order?

10 Answers
Related