minusAssign

operator fun minusAssign(element: E)

Removes the specified element from the set if it is present.

Parameters

element

The element to be removed from the set.


operator fun minusAssign(elements: Array<out E>)

Removes the specified elements from the set, if present.

Parameters

elements

An array of elements to be removed from the set.


operator fun minusAssign(elements: Sequence<E>)

Removes the specified elements from the set, if present.

Parameters

elements

A sequence of elements to be removed from the set.


operator fun minusAssign(elements: Iterable<E>)

Removes the specified elements from the set, if present.

Parameters

elements

A Iterable of elements to be removed from the set.


operator fun minusAssign(elements: ScatterSet<E>)

Removes the specified elements from the set, if present.

Parameters

elements

A ScatterSet whose elements should be removed from the set.


operator fun minusAssign(elements: ObjectList<E>)

Removes the specified elements from the set, if present.

Parameters

elements

An ObjectList whose elements should be removed from the set.