Abstract Mutable Set
Provides a skeletal implementation of the MutableSet interface.
Since Kotlin
Provides a skeletal implementation of the MutableSet interface.
Since Kotlin
Provides a skeletal implementation of the MutableSet interface.
Provides a skeletal implementation of the MutableSet interface.
Since Kotlin
Parameters
the type of elements contained in the set. The set is invariant in its element type.
the type of elements contained in the set. The set is invariant in its element type.
the type of elements contained in the set. The set is invariant in its element type.
the type of elements contained in the set. The set is invariant in its element type.
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 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.
Checks if all elements in the specified collection are contained in this collection.
Compares this set with another set instance with the unordered structural equality.
Returns true
if the collection is empty (contains no elements), false
otherwise.
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.
Returns an iterator over the elements of this object.
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.