Constructs a new empty HashSet.
actual constructor(initialCapacity: Int)(source)
Constructs a new empty HashSet.
Parameters
the initial capacity (ignored)
the load factor (ignored)
Throws
if the initial capacity or load factor are negative
Constructs a new HashSet filled with the elements of the specified collection.