Lines Matching defs:keyComparator
72 private transient Comparator<? super K> keyComparator;
89 * @param keyComparator the comparator that determines the key ordering
93 Comparator<? super K> keyComparator,
95 return new TreeMultimap<K, V>(checkNotNull(keyComparator),
111 TreeMultimap(Comparator<? super K> keyComparator,
113 super(new TreeMap<K, Collection<V>>(keyComparator));
114 this.keyComparator = keyComparator;
118 private TreeMultimap(Comparator<? super K> keyComparator,
121 this(keyComparator, valueComparator);
140 public Comparator<? super K> keyComparator() {
141 return keyComparator;
179 stream.writeObject(keyComparator());
189 keyComparator = checkNotNull((Comparator<? super K>) stream.readObject());
191 setMap(new TreeMap<K, Collection<V>>(keyComparator));