toImmutableSet
Returns an immutable set of all elements of this iterable.
If the receiver is already an immutable set, returns it as is.
Elements of the returned set are iterated in the same order as in this iterable.
Returns an immutable set of all elements of this array.
Elements of the returned set are iterated in the same order as in this array.
Returns an immutable set of all elements of this sequence.
Elements of the returned set are iterated in the same order as in this sequence.
Returns an immutable set of all characters.
Elements of the returned set are iterated in the same order as in this char sequence.