/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultimap.java | 74 private transient Comparator<? super K> keyComparator; field in TreeMultimap 95 Comparator<? super K> keyComparator, in create() argument 97 return new TreeMultimap<K, V>(checkNotNull(keyComparator), in create() 113 TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() argument 115 super(new TreeMap<K, Collection<V>>(keyComparator)); in TreeMultimap() 116 this.keyComparator = keyComparator; in TreeMultimap() 120 private TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() argument 123 this(keyComparator, valueComparator); in TreeMultimap() 142 keyComparator().compare(key, key); in createCollection() 150 public Comparator<? super K> keyComparator() { in keyComparator() method in TreeMultimap [all …]
|
D | ImmutableMultimap.java | 155 Comparator<? super K> keyComparator; field in ImmutableMultimap.Builder 234 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { in orderKeysBy() argument 235 this.keyComparator = checkNotNull(keyComparator); in orderKeysBy() 259 if (keyComparator != null) { in build() 265 Ordering.from(keyComparator).<K>onKeys()); in build()
|
D | ImmutableSetMultimap.java | 234 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { in orderKeysBy() argument 235 this.keyComparator = checkNotNull(keyComparator); in orderKeysBy() 261 if (keyComparator != null) { in build() 267 Ordering.from(keyComparator).<K>onKeys()); in build()
|
D | ImmutableListMultimap.java | 199 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { in orderKeysBy() argument 200 super.orderKeysBy(keyComparator); in orderKeysBy()
|
/external/guava/guava/src/com/google/common/collect/ |
D | TreeMultimap.java | 80 private transient Comparator<? super K> keyComparator; field in TreeMultimap 101 Comparator<? super K> keyComparator, in create() argument 103 return new TreeMultimap<K, V>(checkNotNull(keyComparator), in create() 119 TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() argument 121 super(new TreeMap<K, Collection<V>>(keyComparator)); in TreeMultimap() 122 this.keyComparator = keyComparator; in TreeMultimap() 126 private TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() argument 129 this(keyComparator, valueComparator); in TreeMultimap() 148 keyComparator().compare(key, key); in createCollection() 156 public Comparator<? super K> keyComparator() { in keyComparator() method in TreeMultimap [all …]
|
D | ImmutableMultimap.java | 156 Comparator<? super K> keyComparator; field in ImmutableMultimap.Builder 235 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { in orderKeysBy() argument 236 this.keyComparator = checkNotNull(keyComparator); in orderKeysBy() 260 if (keyComparator != null) { in build() 266 Ordering.from(keyComparator).<K>onKeys()); in build()
|
D | ImmutableSetMultimap.java | 240 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { in orderKeysBy() argument 241 this.keyComparator = checkNotNull(keyComparator); in orderKeysBy() 267 if (keyComparator != null) { in build() 273 Ordering.from(keyComparator).<K>onKeys()); in build()
|
D | SortedLists.java | 225 Comparator<? super K> keyComparator, in binarySearch() argument 229 Lists.transform(list, keyFunction), key, keyComparator, presentBehavior, absentBehavior); in binarySearch()
|
D | ImmutableListMultimap.java | 204 public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { in orderKeysBy() argument 205 super.orderKeysBy(keyComparator); in orderKeysBy()
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | TreeMultimap_CustomFieldSerializer.java | 39 Comparator<Object> keyComparator = (Comparator<Object>) in.readObject(); in instantiate() local 44 in, TreeMultimap.create(keyComparator, valueComparator)); in instantiate() 49 out.writeObject(multimap.keyComparator()); in serialize()
|
D | GwtSerializationDependencies.java | 136 Comparator<? super K> keyComparator; field in GwtSerializationDependencies.TreeMultimapDependencies
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | TreeMultimapExplicitTest.java | 109 assertEquals(Ordering.natural(), copy.keyComparator()); in testMultimapCreateFromTreeMultimap() 127 assertEquals(StringLength.COMPARATOR, multimap.keyComparator()); in testGetComparator() 193 assertEquals(StringLength.COMPARATOR, copy.keyComparator()); in testMultimapComparators() 216 assertEquals(multimap.keyComparator(), copy.keyComparator()); in testExplicitComparatorSerialization()
|
D | TreeMultimapNaturalTest.java | 356 assertSame(Ordering.natural(), copyFromTree.keyComparator()); in testCreateFromTreeMultimap() 374 assertEquals(Ordering.natural(), copyFromHash.keyComparator()); in testCreateFromHashMultimap() 392 assertSame(Ordering.natural(), copyFromSorted.keyComparator()); in testCreateFromSortedSetMultimap() 399 assertEquals(Ordering.natural(), multimap.keyComparator()); in testComparators() 410 assertEquals(multimap.keyComparator(), copy.keyComparator()); in testExplicitComparatorSerialization() 429 assertEquals(Ordering.natural(), multimap.keyComparator()); in testTreeMultimapDerived() 453 assertEquals(Ordering.natural(), multimap.keyComparator()); in testTreeMultimapNonGeneric()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultimapNaturalTest.java | 141 assertSame(Ordering.natural(), copyFromTree.keyComparator()); in testCreateFromTreeMultimap() 159 assertEquals(Ordering.natural(), copyFromHash.keyComparator()); in testCreateFromHashMultimap() 177 assertSame(Ordering.natural(), copyFromSorted.keyComparator()); in testCreateFromSortedSetMultimap() 184 assertEquals(Ordering.natural(), multimap.keyComparator()); in testComparators()
|
D | TreeMultimapExplicitTest.java | 107 assertEquals(Ordering.natural(), copy.keyComparator()); in testMultimapCreateFromTreeMultimap() 125 assertEquals(StringLength.COMPARATOR, multimap.keyComparator()); in testGetComparator() 191 assertEquals(StringLength.COMPARATOR, copy.keyComparator()); in testMultimapComparators()
|
/external/icu/icu4c/source/common/ |
D | uhash.cpp | 261 result->keyComparator = keyComp; in _uhash_init() 348 if ((*hash->keyComparator)(key, elements[theIndex].key)) { in _uhash_find() 619 UKeyComparator *result = hash->keyComparator; in uhash_setKeyComparator() 620 hash->keyComparator = fn; in uhash_setKeyComparator() 889 hash1->keyComparator != hash2->keyComparator || in uhash_equals()
|
D | uhash.h | 147 UKeyComparator *keyComparator; /* Compares keys for equality. member
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/ |
D | Helpers.java | 169 final Comparator<? super K> keyComparator) { 174 return (keyComparator == null) 176 : keyComparator.compare(a.getKey(), b.getKey());
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | Helpers.java | 171 final Comparator<? super K> keyComparator) { 176 return (keyComparator == null) 178 : keyComparator.compare(a.getKey(), b.getKey());
|