Lines Matching refs:comparator
312 * The comparator used to maintain order in this map, or null
316 private final Comparator<? super K> comparator;
336 * (Note that comparator must be separately initialized.)
595 * Represents a key with a comparator as a Comparable.
600 * per-comparison whether to use comparator or comparable because
622 * If using comparator, return a ComparableUsingComparator, else
630 if (comparator != null)
631 return new ComparableUsingComparator<K>((K)key, comparator);
637 * Compares using comparator or natural ordering. Used when the
641 Comparator<? super K> cmp = comparator;
1353 this.comparator = null;
1359 * comparator.
1361 * @param comparator the comparator that will be used to order this map.
1365 public ConcurrentSkipListMap(Comparator<? super K> comparator) {
1366 this.comparator = comparator;
1382 this.comparator = null;
1392 * map, and whose comparator is to be used to sort this map
1397 this.comparator = m.comparator();
1921 public Comparator<? super K> comparator() {
1922 return comparator;
2290 public Comparator<? super E> comparator() { return m.comparator(); }
2783 public Comparator<? super K> comparator() {
2784 Comparator<? super K> cmp = m.comparator();