Home | History | Annotate | Download | only in collect

Lines Matching refs:Comparator

26 import java.util.Comparator;
39 * Comparator#compare} instead of {@link Object#equals} to determine
48 * through the keys according to the key comparator ordering or the natural
51 * to the value comparator ordering or the natural ordering of the values. The
73 private transient Comparator<? super K> keyComparator;
74 private transient Comparator<? super V> valueComparator;
88 * Neither comparator may be null; use {@link Ordering#natural()} to specify
91 * @param keyComparator the comparator that determines the key ordering
92 * @param valueComparator the comparator that determines the value ordering
95 Comparator<? super K> keyComparator,
96 Comparator<? super V> valueComparator) {
122 TreeMultimap(@Nullable Comparator<? super K> keyComparator,
123 @Nullable Comparator<? super V> valueComparator) {
131 private TreeMultimap(Comparator<? super K> keyComparator,
132 Comparator<? super V> valueComparator,
152 * Returns the comparator that orders the multimap keys.
154 public Comparator<? super K> keyComparator() {
158 public Comparator<? super V> valueComparator() {
185 * @serialData key comparator, value comparator, number of distinct keys, and
200 keyComparator = (Comparator<? super K>) stream.readObject();
201 valueComparator = (Comparator<? super V>) stream.readObject();