SafeSet

constructor(c: Collection<T> = emptySet())

Parameters

c

The initial collection to populate the set. Defaults to an empty set if not provided.

T

The type of elements in the set.