I couldn't find an answer to this question anywhere. I added 100,000 different strings with the same hash code to a HashSet in java, and it took 63 ms. (Linked List took 37373 ms)
I was wondering how Java's hashSet handles this situation.
(It was a part of an exercise, and my implementations took MUCH longer - both the "Open" implementation - where the Strings are added to Linked lists, ans "Closed" implementation - where I find the next open cell with a given formula).