Constructs a new empty instance of HashSet.
()
| 29 | * Constructs a new empty instance of {@code HashSet}. |
| 30 | */ |
| 31 | public HashSet() { |
| 32 | this(new HashMap<E, HashSet<E>>()); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Constructs a new instance of {@code HashSet} with the specified capacity. |