I was going through the internal functionality of HashSet I came to know that it actually internally use HashMap. But in another post link reference given below, I noticed it is actually using hashtable in order to calculate the internal capacity and load factor.
I also have gone through this post but it doesn't help me much.
Now I am very much confused here is it using HasMap or hashtable internally. please help me out with the proper clarification.