intellij-randomness / com.fwdekker.randomness.word / addSets

addSets

fun <T> addSets(a: Set<T>, b: Set<T>): Set<T>

Combines a and b into a single Set.

Parameters

T - the type of the elements in the sets

a - a set

b - a set

Return
a Set containing all elements from a and b