removeAll

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

Removes the specified elements from the set, if present.

Return

true if the set was changed or false if none of the elements were present.

Parameters

elements

An array of elements to be removed from the set.


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

Removes the specified elements from the set, if present.

Return

true if the set was changed or false if none of the elements were present.

Parameters

elements

A sequence of elements to be removed from the set.


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

Removes the specified elements from the set, if present.

Return

true if the set was changed or false if none of the elements were present.

Parameters

elements

A Iterable of elements to be removed from the set.


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

Removes the specified elements from the set, if present.

Return

true if the set was changed or false if none of the elements were present.

Parameters

elements

A ScatterSet whose elements should be removed from the set.