plusAssign

operator fun plusAssign(element: E)

Adds the specified element to the set.

Parameters

element

The element to add to the set.


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

Adds all the elements into this set.

Parameters

elements

An array of elements to add to the set.


operator fun plusAssign(elements: Iterable<E>)

Adds all the elements into this set.

Parameters

elements

Iterable elements to add to the set.


operator fun plusAssign(elements: Sequence<E>)

Adds all the elements into this set.

Parameters

elements

The sequence of elements to add to the set.


operator fun plusAssign(elements: ScatterSet<E>)

Adds all the elements in the elements set into this set.

Parameters

elements

A ScatterSet whose elements are to be added to the set


operator fun plusAssign(elements: ObjectList<E>)

Adds all the elements in the elements set into this set.

Parameters

elements

An ObjectList whose elements are to be added to the set