comparator

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

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

Return

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