Returns the comparator used to compare elements in this map. @return the comparator or null if the natural ordering is used.
()
| 3763 | * @return the comparator or {@code null} if the natural ordering is used. |
| 3764 | */ |
| 3765 | public Comparator<? super K> comparator() { |
| 3766 | return comparator; |
| 3767 | } |
| 3768 | |
| 3769 | /** |
| 3770 | * Returns whether this map contains the specified key. |