Hash Set
The implementation of the MutableSet interface, backed by a HashMap instance.
Constructors
Functions
Adds the specified element to the set.
Adds all of the elements of the specified collection to this collection.
Checks if the specified element is contained in this collection.
Checks if all elements in the specified collection are contained in this collection.
Checks if all elements in the specified collection are contained in this collection.
Searches for the specified element in this set.
Returns true
if the collection is empty (contains no elements), false
otherwise.
Returns an iterator over the elements of this object.
Returns an iterator over the elements of this object.
Removes a single instance of the specified element from this collection, if it is present.
Removes all of this collection's elements that are also contained in the specified collection.
Retains only the elements in this collection that are contained in the specified collection.