Reset the HashSet contents and optionally configure a new heap manager. This releases more memory than clear() does
Time complexity: O(1)
See Implementation
Reset the HashSet contents and optionally configure a new heap manager. This releases more memory than clear() does
Time complexity: O(1)