comparator

open override fun comparator(): Comparator<E>?

Returns the comparator used to order the elements in this set, or null if this set uses the natural ordering of its elements.

Return

the comparator used to order the elements in this set, or null if this set uses the natural ordering of its elements