union

abstract fun union(other: Iterable<T>): SetWrapper<T>

返回一个 SetWrapper,其中包含此可迭代对象和给定 other 可迭代对象中的所有元素。

Return

包含并集元素的 SetWrapper

Parameters

other

用于计算并集的另一个可迭代对象。