posted 20 years ago
From the javadoc of HashMap:
(The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls.)
As for the HashSet, it is a class that uses hash values to store objects, but obeys the Set contract to not allow duplicate objects.