public abstract Comparator<? super K> comparator ()

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

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