KtSetExtension<T> extension

on

Properties

dart Set<T>
Returns a read-only dart:core Set [...]
read-only

Methods

minus(KtIterable<T> elements) KtSet<T>
Returns a set containing all elements of the original collection except the elements contained in the given elements collection.
minusElement(T element) KtSet<T>
Returns a set containing all elements of the original collection without the first occurrence of the given element.
plus(KtIterable<T> elements) KtSet<T>
Returns a set containing all elements of the original collection and then all elements of the given elements collection.
plusElement(T element) KtSet<T>
Returns a set containing all elements of the original collection and then the given element.

Operators

operator +(KtIterable<T> elements) KtSet<T>
Returns a set containing all elements of the original collection and then all elements of the given elements collection.
operator -(KtIterable<T> elements) KtSet<T>
Returns a set containing all elements of the original collection except the elements contained in the given elements collection.