Home
last modified time | relevance | path

Searched defs:multimap (Results 1 – 25 of 89) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java88 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); in testValueSetHashTableExpansion() local
105 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); in initializeMultimap5() local
115 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); in testToString() local
125 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingReadOnly() local
130 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingUnmodifiable() local
135 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingSynchronized() local
141 Multimap<String, Integer> multimap = initializeMultimap5(); in testSerializationOrdering() local
148 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); in testSerializationOrderingKeysAndEntries() local
162 private void assertOrderingReadOnly(Multimap<String, Integer> multimap) { in assertOrderingReadOnly()
191 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingUpdates() local
[all …]
DTreeMultimapNaturalTest.java280 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); in createPopulate() local
292 SetMultimap<String, Integer> multimap = create(); in testToString() local
299 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedGet() local
306 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedKeySet() local
311 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedAsMapEntries() local
325 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedEntries() local
339 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedValues() local
344 SetMultimap<String, Integer> multimap = create(); in testMultimapConstructor() local
405 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); in testComparators() local
412 TreeMultimap<String, Integer> multimap = createPopulate(); in testExplicitComparatorSerialization() local
[all …]
DImmutableListMultimapTest.java91 ImmutableListMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry() local
141 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllIterable() local
152 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllVarargs() local
171 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimap() local
182 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates() local
193 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderPutWithDuplicates() local
214 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimapWithDuplicates() local
281 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysBy() local
303 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysByDuplicates() local
319 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderValuesBy() local
[all …]
DTreeMultimapExplicitTest.java73 TreeMultimap<String, Integer> multimap = in createPopulate() local
106 Multimap<String, Integer> multimap = create(); in testToString() local
116 TreeMultimap<String, Integer> multimap = createPopulate(); in testGetComparator() local
122 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedGet() local
129 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedKeySet() local
134 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedAsMapEntries() local
148 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedEntries() local
162 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedValues() local
167 TreeMultimap<String, Integer> multimap = createPopulate(); in testComparator() local
173 Multimap<String, Integer> multimap = create(); in testMultimapComparators() local
[all …]
DImmutableSetMultimapTest.java91 ImmutableSetMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry() local
141 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllIterable() local
152 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllVarargs() local
171 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimap() local
182 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates() local
191 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutWithDuplicates() local
204 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimapWithDuplicates() local
269 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysBy() local
294 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysByDuplicates() local
313 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderValuesBy() local
[all …]
DArrayListMultimapTest.java81 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() local
90 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() local
99 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() local
108 ListMultimap<String, Integer> multimap = create(); in testSublistConcurrentModificationException() local
127 Multimap<String, Integer> multimap = create(); in testCreateFromMultimap() local
136 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(); in testCreate() local
141 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(15, 20); in testCreateFromSizes() local
161 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); in testCreateFromHashMultimap() local
167 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); in testCreateFromArrayListMultimap() local
172 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(); in testTrimToSize() local
DMultimapsTest.java182 ListMultimap<String, Integer> multimap = Multimaps.unmodifiableListMultimap(delegate); in testUnmodifiableArrayListMultimapRandomAccess() local
191 ListMultimap<String, Integer> multimap = Multimaps.unmodifiableListMultimap(delegate); in testUnmodifiableLinkedListMultimapRandomAccess() local
258 SortedSetMultimap<String, Integer> multimap = Multimaps.synchronizedSortedSetMultimap(delegate); in testUnmodifiableSynchronizedTreeMultimap() local
267 SortedSetMultimap<String, Integer> multimap = Multimaps.synchronizedSortedSetMultimap(delegate); in testSerializingUnmodifiableSynchronizedTreeMultimap() local
315 Multimap<String, Integer> multimap, boolean permitsDuplicates) { in checkUnmodifiableMultimap()
325 Multimap<String, Integer> multimap, in checkUnmodifiableMultimap()
355 Multimap<String, Integer> multimap, in prepareUnmodifiableTests()
401 Multimap<String, Integer> multimap = in testInvertFrom() local
418 Multimap<String, Integer> multimap = in testAsMap_multimap() local
446 Multimap<String, Integer> multimap = HashMultimap.create(); in testForMap() local
[all …]
DLinkedListMultimapTest.java95 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() local
107 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() local
119 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() local
127 Multimap<String, Integer> multimap = LinkedListMultimap.create(); in testCreateFromMultimap() local
137 LinkedListMultimap<String, Integer> multimap = LinkedListMultimap.create(20); in testCreateFromSize() local
311 ListMultimap<String, Integer> multimap = create(); in testEntriesAfterMultimapUpdate() local
353 private LinkedListMultimap<String, Integer> multimap; in testEntriesIteration() local
379 private Multimap<String, Integer> multimap; in testKeysIteration() local
408 private LinkedListMultimap<String, Integer> multimap; in testValuesIteration() local
435 private Multimap<String, Integer> multimap; in testKeySetIteration() local
[all …]
DMultimapsCollectionTest.java100 static void populateMultimapForGet(Multimap<Integer, String> multimap, String[] elements) { in populateMultimapForGet()
107 static void populateMultimapForKeySet(Multimap<String, Integer> multimap, String[] elements) { in populateMultimapForKeySet()
114 static void populateMultimapForValues(Multimap<Integer, String> multimap, String[] elements) { in populateMultimapForValues()
120 static void populateMultimapForKeys(Multimap<String, Integer> multimap, String[] elements) { in populateMultimapForKeys()
188 Multimap<String, Integer> multimap = createMultimap(); in create() local
364 Multimap<String, String> multimap = ArrayListMultimap.create(); in create() local
373 abstract M transform(Multimap<String, String> multimap); in transform() argument
530 abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap); in filter()
534 SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); in create() local
555 ListMultimap<String, Integer> multimap = LinkedListMultimap.create(); in create() local
[all …]
DHashMultimapTest.java74 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreate() local
83 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreateFromMultimap() local
93 HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15); in testCreateFromSizes() local
DImmutableMultimapTest.java40 ImmutableMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry() local
105 Multimap<Integer, UnhashableObject> multimap = ImmutableMultimap.of(0, unhashables.e0()); in testUnhashableSingletonValue() local
112 Multimap<Integer, Object> multimap = in testUnhashableMixedValues() local
DMultimapsFilterEntriesAsMapTest.java54 Multimap<String, Integer> multimap = createMultimap(); in makeEmptyMap() local
60 Multimap<String, Integer> multimap = createMultimap(); in makePopulatedMap() local
/external/guava/android/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java87 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); in testValueSetHashTableExpansion() local
104 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); in initializeMultimap5() local
114 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); in testToString() local
124 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingReadOnly() local
129 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingUnmodifiable() local
134 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingSynchronized() local
140 Multimap<String, Integer> multimap = initializeMultimap5(); in testSerializationOrdering() local
147 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); in testSerializationOrderingKeysAndEntries() local
161 private void assertOrderingReadOnly(Multimap<String, Integer> multimap) { in assertOrderingReadOnly()
190 Multimap<String, Integer> multimap = initializeMultimap5(); in testOrderingUpdates() local
[all …]
DImmutableListMultimapTest.java86 ImmutableListMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry() local
136 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllIterable() local
147 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllVarargs() local
166 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimap() local
177 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates() local
188 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderPutWithDuplicates() local
209 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimapWithDuplicates() local
276 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysBy() local
298 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysByDuplicates() local
314 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderValuesBy() local
[all …]
DTreeMultimapNaturalTest.java280 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); in createPopulate() local
292 SetMultimap<String, Integer> multimap = create(); in testToString() local
299 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedGet() local
306 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedKeySet() local
311 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedAsMapEntries() local
325 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedEntries() local
339 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedValues() local
344 SetMultimap<String, Integer> multimap = create(); in testMultimapConstructor() local
405 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); in testComparators() local
412 TreeMultimap<String, Integer> multimap = createPopulate(); in testExplicitComparatorSerialization() local
[all …]
DImmutableSetMultimapTest.java86 ImmutableSetMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry() local
136 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllIterable() local
147 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllVarargs() local
166 Multimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimap() local
177 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates() local
186 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutWithDuplicates() local
199 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllMultimapWithDuplicates() local
264 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysBy() local
289 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderKeysByDuplicates() local
308 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderOrderValuesBy() local
[all …]
DTreeMultimapExplicitTest.java73 TreeMultimap<String, Integer> multimap = in createPopulate() local
106 Multimap<String, Integer> multimap = create(); in testToString() local
116 TreeMultimap<String, Integer> multimap = createPopulate(); in testGetComparator() local
122 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedGet() local
129 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedKeySet() local
134 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedAsMapEntries() local
148 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedEntries() local
162 TreeMultimap<String, Integer> multimap = createPopulate(); in testOrderedValues() local
167 TreeMultimap<String, Integer> multimap = createPopulate(); in testComparator() local
173 Multimap<String, Integer> multimap = create(); in testMultimapComparators() local
[all …]
DArrayListMultimapTest.java81 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() local
90 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() local
99 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() local
108 ListMultimap<String, Integer> multimap = create(); in testSublistConcurrentModificationException() local
127 Multimap<String, Integer> multimap = create(); in testCreateFromMultimap() local
136 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(); in testCreate() local
141 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(15, 20); in testCreateFromSizes() local
161 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); in testCreateFromHashMultimap() local
167 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(original); in testCreateFromArrayListMultimap() local
172 ArrayListMultimap<String, Integer> multimap = ArrayListMultimap.create(); in testTrimToSize() local
DMultimapsTest.java125 ListMultimap<String, Integer> multimap = Multimaps.unmodifiableListMultimap(delegate); in testUnmodifiableArrayListMultimapRandomAccess() local
134 ListMultimap<String, Integer> multimap = Multimaps.unmodifiableListMultimap(delegate); in testUnmodifiableLinkedListMultimapRandomAccess() local
201 SortedSetMultimap<String, Integer> multimap = Multimaps.synchronizedSortedSetMultimap(delegate); in testUnmodifiableSynchronizedTreeMultimap() local
210 SortedSetMultimap<String, Integer> multimap = Multimaps.synchronizedSortedSetMultimap(delegate); in testSerializingUnmodifiableSynchronizedTreeMultimap() local
258 Multimap<String, Integer> multimap, boolean permitsDuplicates) { in checkUnmodifiableMultimap()
268 Multimap<String, Integer> multimap, in checkUnmodifiableMultimap()
298 Multimap<String, Integer> multimap, in prepareUnmodifiableTests()
344 Multimap<String, Integer> multimap = in testInvertFrom() local
361 Multimap<String, Integer> multimap = in testAsMap_multimap() local
389 Multimap<String, Integer> multimap = HashMultimap.create(); in testForMap() local
[all …]
DLinkedListMultimapTest.java96 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() local
108 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() local
120 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() local
128 Multimap<String, Integer> multimap = LinkedListMultimap.create(); in testCreateFromMultimap() local
138 LinkedListMultimap<String, Integer> multimap = LinkedListMultimap.create(20); in testCreateFromSize() local
312 ListMultimap<String, Integer> multimap = create(); in testEntriesAfterMultimapUpdate() local
354 private LinkedListMultimap<String, Integer> multimap; in testEntriesIteration() local
380 private Multimap<String, Integer> multimap; in testKeysIteration() local
409 private LinkedListMultimap<String, Integer> multimap; in testValuesIteration() local
436 private Multimap<String, Integer> multimap; in testKeySetIteration() local
[all …]
DMultimapsCollectionTest.java99 static void populateMultimapForGet(Multimap<Integer, String> multimap, String[] elements) { in populateMultimapForGet()
106 static void populateMultimapForKeySet(Multimap<String, Integer> multimap, String[] elements) { in populateMultimapForKeySet()
113 static void populateMultimapForValues(Multimap<Integer, String> multimap, String[] elements) { in populateMultimapForValues()
119 static void populateMultimapForKeys(Multimap<String, Integer> multimap, String[] elements) { in populateMultimapForKeys()
187 Multimap<String, Integer> multimap = createMultimap(); in create() local
362 Multimap<String, String> multimap = ArrayListMultimap.create(); in create() local
371 abstract M transform(Multimap<String, String> multimap); in transform() argument
528 abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap); in filter()
532 SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); in create() local
553 ListMultimap<String, Integer> multimap = LinkedListMultimap.create(); in create() local
[all …]
DHashMultimapTest.java74 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreate() local
83 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreateFromMultimap() local
93 HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15); in testCreateFromSizes() local
DImmutableMultimapTest.java40 ImmutableMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry() local
105 Multimap<Integer, UnhashableObject> multimap = ImmutableMultimap.of(0, unhashables.e0()); in testUnhashableSingletonValue() local
112 Multimap<Integer, Object> multimap = in testUnhashableMixedValues() local
DMultimapsFilterEntriesAsMapTest.java54 Multimap<String, Integer> multimap = createMultimap(); in makeEmptyMap() local
60 Multimap<String, Integer> multimap = createMultimap(); in makePopulatedMap() local
/external/truth/core/src/test/java/com/google/common/truth/
DMultimapSubjectTest.java151 ImmutableMultimap<String, String> multimap = ImmutableMultimap.of(); in multimapIsEmpty() local
157 ImmutableMultimap<Integer, Integer> multimap = ImmutableMultimap.of(1, 5); in multimapIsEmptyWithFailure() local
164 ImmutableMultimap<Integer, Integer> multimap = ImmutableMultimap.of(1, 5); in multimapIsNotEmpty() local
170 ImmutableMultimap<Integer, Integer> multimap = ImmutableMultimap.of(); in multimapIsNotEmptyWithFailure() local
196 ImmutableMultimap<String, String> multimap = ImmutableMultimap.of("kurt", "kluever"); in containsKey() local
202 ImmutableMultimap<String, String> multimap = ImmutableMultimap.of("kurt", "kluever"); in containsKeyFailure() local
212 Multimap<String, String> multimap = HashMultimap.create(); in containsKeyNull() local
219 ImmutableMultimap<String, String> multimap = ImmutableMultimap.of("kurt", "kluever"); in containsKeyNullFailure() local
246 ImmutableMultimap<String, String> multimap = ImmutableMultimap.of("kurt", "kluever"); in doesNotContainKey() local
253 ImmutableMultimap<String, String> multimap = ImmutableMultimap.of("kurt", "kluever"); in doesNotContainKeyFailure() local
[all …]

1234