Lines Matching defs:comparator
39 * interface (or be accepted by the specified comparator). Furthermore, all
41 * {@code comparator.compare(k1, k2)}) must not throw a
48 * explicit comparator is provided) must be <em>consistent with equals</em> if
68 * creates an empty sorted map sorted according to the specified comparator.</li>
115 * Returns the comparator used to order the keys in this map, or
119 * @return the comparator used to order the keys in this map,
123 Comparator<? super K> comparator();
142 * cannot be compared to one another using this map's comparator
143 * (or, if the map has no comparator, using natural ordering).
170 * with this map's comparator (or, if the map has no comparator,
197 * with this map's comparator (or, if the map has no comparator,