Constructs a new empty instance of HashSet.
()
| 34 | * Constructs a new empty instance of {@code HashSet}. |
| 35 | */ |
| 36 | public HashSet() { |
| 37 | this(new HashMap<E, HashSet<E>>()); |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Constructs a new instance of {@code HashSet} with the specified capacity. |