addAll

fun addAll(vararg elements: Int): Int

Adds all elements from the given list (vararg) to this set.

Return

Returns the number of elements actually added as a result of this call (not previously present in the set).


fun addAll(set: IntHashSet): Int

Adds all elements from the given set to this set.

Return

Returns the number of elements actually added as a result of this call (not previously present in the set).


fun addAll(iterable: Iterable<out IntCursor>): Int

Adds all elements from the given iterable to this set.

Return

Returns the number of elements actually added as a result of this call (not previously present in the set).


fun addAll(collection: MutableCollection<Int>): Int