What are the differences between HashMap and Hashtable in Java? | Codesnipeet
Hashtable is synchronized, whereas HashMap is not. This makes HashMap better for non-threaded applications, as unsynchronized Objects typically perform better than synchronized ones.
codesnipeet.com