addAll

fun addAll(elements: Array<out E>): Boolean

Adds all the elements into this set.

Return

true if any of the specified elements were added to the collection, false if the collection was not modified.

Parameters

elements

An array of elements to add to the set.


fun addAll(elements: Iterable<E>): Boolean

Adds all the elements into this set.

Return

true if any of the specified elements were added to the collection, false if the collection was not modified.

Parameters

elements

Iterable elements to add to the set.


fun addAll(elements: Sequence<E>): Boolean

Adds all the elements into this set.

Return

true if any of the specified elements were added to the collection, false if the collection was not modified.

Parameters

elements

The sequence of elements to add to the set.


fun addAll(elements: ScatterSet<E>): Boolean

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

Return

true if any of the specified elements were added to the collection, false if the collection was not modified.

Parameters

elements

A ScatterSet whose elements are to be added to the set


fun addAll(elements: ObjectList<E>): Boolean

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

Return

true if any of the specified elements were added to the collection, false if the collection was not modified.

Parameters

elements

An ObjectList whose elements are to be added to the set