HomeSort by relevance Sort by last modified time
    Searched refs:multimap (Results 1 - 25 of 458) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
LinkedHashMultimapTest.java 41 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
43 multimap.put("a", z);
47 (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
54 private Multimap<String, Integer> initializeMultimap5() {
55 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
56 multimap.put("foo", 5);
57 multimap.put("bar", 4);
58 multimap.put("foo", 3);
59 multimap.put("cow", 2)
65 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
76 Multimap<String, Integer> multimap = initializeMultimap5(); local
81 Multimap<String, Integer> multimap = initializeMultimap5(); local
86 Multimap<String, Integer> multimap = initializeMultimap5(); local
120 Multimap<String, Integer> multimap = initializeMultimap5(); local
135 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
158 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
164 Multimap<String, Integer> multimap = initializeMultimap5(); local
169 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
177 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
190 LinkedHashMultimap<String, Integer> multimap local
    [all...]
HashMultimapTest.java 36 HashMultimap<String, Integer> multimap = HashMultimap.create(); local
37 multimap.put("foo", 1);
38 multimap.put("bar", 2);
39 multimap.put("foo", 3);
40 assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
41 assertEquals(2, multimap.expectedValuesPerKey);
45 HashMultimap<String, Integer> multimap = HashMultimap.create(); local
46 multimap.put("foo", 1);
47 multimap.put("bar", 2);
48 multimap.put("foo", 3)
55 HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15); local
    [all...]
ArrayListMultimapTest.java 46 Multimap<String, Integer> multimap = create(); local
47 multimap.put("foo", 1);
48 multimap.put("foo", 3);
49 assertTrue(multimap.get("foo") instanceof RandomAccess);
50 assertTrue(multimap.get("bar") instanceof RandomAccess);
57 Multimap<String, Integer> multimap = create(); local
58 multimap.put("foo", 1);
59 multimap.put("foo", 3)
68 Multimap<String, Integer> multimap = create(); local
82 ListMultimap<String, Integer> multimap = create(); local
100 Multimap<String, Integer> multimap = create(); local
110 ArrayListMultimap<String, Integer> multimap local
116 ArrayListMultimap<String, Integer> multimap local
135 ArrayListMultimap<String, Integer> multimap local
143 ArrayListMultimap<String, Integer> multimap local
149 ArrayListMultimap<String, Integer> multimap local
    [all...]
TreeMultimapNaturalTest.java 50 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
51 multimap.put("google", 2);
52 multimap.put("google", 6);
53 multimap.put("foo", 3);
54 multimap.put("foo", 1);
55 multimap.put("foo", 7);
56 multimap.put("tree", 4);
57 multimap.put("tree", 0);
58 return multimap;
62 SetMultimap<String, Integer> multimap = create() local
70 TreeMultimap<String, Integer> multimap = createPopulate(); local
77 TreeMultimap<String, Integer> multimap = createPopulate(); local
82 TreeMultimap<String, Integer> multimap = createPopulate(); local
97 TreeMultimap<String, Integer> multimap = createPopulate(); local
109 TreeMultimap<String, Integer> multimap = createPopulate(); local
115 SetMultimap<String, Integer> multimap = create(); local
183 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
189 TreeMultimap<String, Integer> multimap = createPopulate(); local
206 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
    [all...]
TreeMultimapExplicitTest.java 78 TreeMultimap<String, Integer> multimap = TreeMultimap.create( local
80 multimap.put("google", 2);
81 multimap.put("google", 6);
82 multimap.put(null, 3);
83 multimap.put(null, 1);
84 multimap.put(null, 7);
85 multimap.put("tree", 0);
86 multimap.put("tree", null);
87 return multimap;
113 Multimap<String, Integer> multimap = create() local
124 TreeMultimap<String, Integer> multimap = createPopulate(); local
130 TreeMultimap<String, Integer> multimap = createPopulate(); local
137 TreeMultimap<String, Integer> multimap = createPopulate(); local
142 TreeMultimap<String, Integer> multimap = createPopulate(); local
157 TreeMultimap<String, Integer> multimap = createPopulate(); local
169 TreeMultimap<String, Integer> multimap = createPopulate(); local
174 TreeMultimap<String, Integer> multimap = createPopulate(); local
181 Multimap<String, Integer> multimap = create(); local
196 TreeMultimap<String, Integer> multimap = createPopulate(); local
    [all...]
ImmutableSetMultimapTest.java 41 ImmutableSetMultimap<String, Integer> multimap = new Builder<String, Integer>() local
44 assertEquals(ImmutableSet.of(1), multimap.get("one"));
90 Multimap<String, Integer> multimap = builder.build(); local
91 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
92 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
93 assertEquals(7, multimap.size());
102 Multimap<String, Integer> multimap = builder.build(); local
103 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"))
122 Multimap<String, Integer> multimap = builder.build(); local
134 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
144 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
158 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
218 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
243 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
263 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
290 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
311 Multimap<String, Integer> multimap = ImmutableSetMultimap.copyOf(input); local
329 Multimap<String, Integer> multimap = ImmutableSetMultimap.copyOf(input); local
335 Multimap<String, Integer> multimap = createMultimap(); local
358 Multimap<String, Integer> multimap = ImmutableSetMultimap.of(); local
375 Multimap<String, Integer> multimap = ImmutableSetMultimap.of(); local
381 Multimap<String, Integer> multimap = createMultimap(); local
396 Multimap<String, Integer> multimap = createMultimap(); local
402 Multimap<String, Integer> multimap = createMultimap(); local
458 ImmutableSetMultimap<String, Character> multimap = local
    [all...]
ImmutableListMultimapTest.java 52 ImmutableListMultimap<String, Integer> multimap = new Builder<String, Integer>() local
55 assertEquals(Arrays.asList(1), multimap.get("one"));
101 Multimap<String, Integer> multimap = builder.build(); local
102 assertEquals(Arrays.asList(1, 2, 3, 6, 7), multimap.get("foo"));
103 assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
104 assertEquals(7, multimap.size());
113 Multimap<String, Integer> multimap = builder.build(); local
114 assertEquals(Arrays.asList(1, 2, 3, 6, 7), multimap.get("foo"))
133 Multimap<String, Integer> multimap = builder.build(); local
145 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
157 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
179 Multimap<String, Integer> multimap = builder.build(); local
241 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
263 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
280 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
298 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
310 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input); local
321 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input); local
328 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input); local
334 Multimap<String, Integer> multimap = createMultimap(); local
357 Multimap<String, Integer> multimap = ImmutableListMultimap.of(); local
374 Multimap<String, Integer> multimap = ImmutableListMultimap.of(); local
385 Multimap<String, Integer> multimap = createMultimap(); local
400 Multimap<String, Integer> multimap = createMultimap(); local
406 Multimap<String, Integer> multimap = createMultimap(); local
463 ImmutableListMultimap<String, Character> multimap = local
    [all...]
  /external/libcxx/test/std/containers/associative/multimap/multimap.cons/
default_recursive.pass.cpp 12 // class multimap
14 // multimap();
20 std::multimap<int, X> m;
21 std::multimap<int, X>::iterator i;
22 std::multimap<int, X>::const_iterator ci;
23 std::multimap<int, X>::reverse_iterator ri;
24 std::multimap<int, X>::const_reverse_iterator cri;
  /external/guava/guava-tests/test/com/google/common/collect/
LinkedHashMultimapTest.java 64 SetMultimap<String, String> multimap = LinkedHashMultimap.create();
66 multimap.put(entry.getKey(), entry.getValue());
68 return multimap;
88 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
90 multimap.put("a", z);
94 (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
101 private Multimap<String, Integer> initializeMultimap5() {
102 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
103 multimap.put("foo", 5)
112 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
123 Multimap<String, Integer> multimap = initializeMultimap5(); local
128 Multimap<String, Integer> multimap = initializeMultimap5(); local
133 Multimap<String, Integer> multimap = initializeMultimap5(); local
139 Multimap<String, Integer> multimap = initializeMultimap5(); local
147 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
192 Multimap<String, Integer> multimap = initializeMultimap5(); local
207 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
230 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
236 Multimap<String, Integer> multimap = initializeMultimap5(); local
241 LinkedHashMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
249 Multimap<String, Integer> multimap = LinkedHashMultimap.create(); local
262 LinkedHashMultimap<String, Integer> multimap local
287 private Multimap<String, Integer> multimap; local
315 private Multimap<String, Integer> multimap; local
335 private Multimap<String, Integer> multimap; local
355 private Multimap<String, Integer> multimap; local
376 private Multimap<String, Integer> multimap; local
413 private Multimap<String, Integer> multimap; local
    [all...]
TreeMultimapExplicitTest.java 80 TreeMultimap<String, Integer> multimap = TreeMultimap.create( local
82 multimap.put("google", 2);
83 multimap.put("google", 6);
84 multimap.put(null, 3);
85 multimap.put(null, 1);
86 multimap.put(null, 7);
87 multimap.put("tree", 0);
88 multimap.put("tree", null);
89 return multimap;
115 Multimap<String, Integer> multimap = create() local
126 TreeMultimap<String, Integer> multimap = createPopulate(); local
132 TreeMultimap<String, Integer> multimap = createPopulate(); local
139 TreeMultimap<String, Integer> multimap = createPopulate(); local
144 TreeMultimap<String, Integer> multimap = createPopulate(); local
159 TreeMultimap<String, Integer> multimap = createPopulate(); local
171 TreeMultimap<String, Integer> multimap = createPopulate(); local
176 TreeMultimap<String, Integer> multimap = createPopulate(); local
183 Multimap<String, Integer> multimap = create(); local
198 TreeMultimap<String, Integer> multimap = createPopulate(); local
211 TreeMultimap<String, Integer> multimap = createPopulate(); local
    [all...]
HashMultimapTest.java 47 SetMultimap<String, String> multimap = HashMultimap.create();
49 multimap.put(entry.getKey(), entry.getValue());
51 return multimap;
74 HashMultimap<String, Integer> multimap = HashMultimap.create(); local
75 multimap.put("foo", 1);
76 multimap.put("bar", 2);
77 multimap.put("foo", 3);
78 assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
79 assertEquals(2, multimap.expectedValuesPerKey);
83 HashMultimap<String, Integer> multimap = HashMultimap.create() local
93 HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15); local
    [all...]
ArrayListMultimapTest.java 53 ListMultimap<String, String> multimap = ArrayListMultimap.create();
55 multimap.put(entry.getKey(), entry.getValue());
57 return multimap;
83 Multimap<String, Integer> multimap = create(); local
84 multimap.put("foo", 1);
85 multimap.put("foo", 3);
86 assertTrue(multimap.get("foo") instanceof RandomAccess);
87 assertTrue(multimap.get("bar") instanceof RandomAccess);
94 Multimap<String, Integer> multimap = create() local
105 Multimap<String, Integer> multimap = create(); local
119 ListMultimap<String, Integer> multimap = create(); local
137 Multimap<String, Integer> multimap = create(); local
147 ArrayListMultimap<String, Integer> multimap local
153 ArrayListMultimap<String, Integer> multimap local
172 ArrayListMultimap<String, Integer> multimap local
180 ArrayListMultimap<String, Integer> multimap local
186 ArrayListMultimap<String, Integer> multimap local
    [all...]
SubMapMultimapAsMapImplementsMapTest.java 40 TreeMultimap<String, Integer> multimap local
43 multimap.put("a", -1);
44 multimap.put("a", -3);
45 multimap.put("z", -2);
46 return multimap;
54 TreeMultimap<String, Integer> multimap = createMultimap(); local
55 multimap.put("f", 1);
56 multimap.put("f", 2);
57 multimap.put("g", 3);
58 multimap.put("h", 4)
    [all...]
ImmutableListMultimapTest.java 76 ImmutableListMultimap<String, Integer> multimap = new Builder<String, Integer>() local
79 assertEquals(Arrays.asList(1), multimap.get("one"));
125 Multimap<String, Integer> multimap = builder.build(); local
126 assertEquals(Arrays.asList(1, 2, 3, 6, 7), multimap.get("foo"));
127 assertEquals(Arrays.asList(4, 5), multimap.get("bar"));
128 assertEquals(7, multimap.size());
137 Multimap<String, Integer> multimap = builder.build(); local
138 assertEquals(Arrays.asList(1, 2, 3, 6, 7), multimap.get("foo"))
157 Multimap<String, Integer> multimap = builder.build(); local
169 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
181 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
203 Multimap<String, Integer> multimap = builder.build(); local
265 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
287 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
304 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
322 ImmutableListMultimap<String, Integer> multimap = builder.build(); local
334 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input); local
345 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input); local
352 Multimap<String, Integer> multimap = ImmutableListMultimap.copyOf(input); local
358 Multimap<String, Integer> multimap = createMultimap(); local
381 Multimap<String, Integer> multimap = ImmutableListMultimap.of(); local
398 Multimap<String, Integer> multimap = ImmutableListMultimap.of(); local
409 Multimap<String, Integer> multimap = createMultimap(); local
424 Multimap<String, Integer> multimap = createMultimap(); local
430 Multimap<String, Integer> multimap = createMultimap(); local
487 ImmutableListMultimap<String, Character> multimap = local
512 Multimap<String, Integer> multimap = createMultimap(); local
528 Multimap<String, Integer> multimap = ImmutableListMultimap.of(); local
    [all...]
  /external/libcxx/test/std/containers/associative/multimap/multimap.ops/
count0.pass.cpp 14 // class multimap
31 typedef std::multimap<int, double, transparent_less> M;
equal_range0.pass.cpp 14 // class multimap
31 typedef std::multimap<int, double, transparent_less> M;
find0.pass.cpp 14 // class multimap
31 typedef std::multimap<int, double, transparent_less> M;
lower_bound0.pass.cpp 14 // class multimap
31 typedef std::multimap<int, double, transparent_less> M;
upper_bound0.pass.cpp 14 // class multimap
31 typedef std::multimap<int, double, transparent_less> M;
count1.fail.cpp 12 // class multimap
33 typedef std::multimap<int, double, transparent_less_no_type> M;
count2.fail.cpp 12 // class multimap
33 typedef std::multimap<int, double, transparent_less_private> M;
count3.fail.cpp 12 // class multimap
33 typedef std::multimap<int, double, transparent_less_not_a_type> M;
equal_range1.fail.cpp 12 // class multimap
33 typedef std::multimap<int, double, transparent_less_no_type> M;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultimapSizeTester.java 25 import com.google.common.collect.Multimap;
33 * Tester for the {@code size} methods of {@code Multimap} and its views.
38 public class MultimapSizeTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
42 Multimap<K, V> multimap = multimap(); local
43 assertEquals(expectedSize, multimap.size());
46 for (Entry<K, V> entry : multimap.entries()) {
47 assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue()));
53 for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet())
    [all...]
MultimapContainsKeyTester.java 24 import com.google.common.collect.Multimap;
29 * Tester for the {@code containsKey} methods of {@code Multimap} and its {@code asMap()} view.
35 extends AbstractMultimapTester<K, V, Multimap<K, V>> {
38 assertTrue(multimap().containsKey(sampleKeys().e0));
42 assertFalse(multimap().containsKey(sampleKeys().e3));
46 for (K k : multimap().keySet()) {
47 assertTrue(multimap().containsKey(k));
53 assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k));
59 assertEquals(multimap().containsKey(k), multimap().asMap().containsKey(k))
    [all...]

Completed in 688 milliseconds

1 2 3 4 5 6 7 8 91011>>