Mohamed Sanaulla wrote:As a user of Hashmap do you really care for their order? You are mostly concerned with getting your data in O(1) time.
Agreed. BTW, is it even possible to sort any set of generic objects, and still maintain an O(1) ? Unless someone invented something new recently, I don't think so.
Henry