Dec 28, 2008

In java, hashmap and hashtable

In java, hashmap and hashtable

a) HashMap does not guarantee that the order of the map will remain constant over time.
b) HashMap is non synchronized where as Hashtable is synchronized.
hashmap is different from stl::map which is sorted

No comments:

Post a Comment