addAll

fun addAll(vararg elements: Long): 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).


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<LongCursor>): 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).