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

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-gwt/src/com/google/common/collect/
LinkedListMultimap_CustomFieldSerializer.java 38 LinkedListMultimap<Object, Object> multimap = LinkedListMultimap.create(); local
43 multimap.put(key, value);
45 return multimap;
49 LinkedListMultimap<?, ?> multimap) throws SerializationException {
50 out.writeInt(multimap.size());
51 for (Map.Entry<?, ?> entry : multimap.entries()) {
TreeMultimap_CustomFieldSerializer.java 48 TreeMultimap<?, ?> multimap) throws SerializationException {
49 out.writeObject(multimap.keyComparator());
50 out.writeObject(multimap.valueComparator());
51 Multimap_CustomFieldSerializerBase.serialize(out, multimap);
LinkedHashMultimap_CustomFieldSerializer.java 40 LinkedHashMultimap<Object, Object> multimap = LinkedHashMultimap.create(); local
42 multimap.valueSetCapacity = stream.readInt();
48 map.put(key, multimap.createCollection(key));
56 multimap.setMap(map);
58 return multimap;
62 LinkedHashMultimap<?, ?> multimap) throws SerializationException {
63 stream.writeInt(multimap.valueSetCapacity);
64 stream.writeInt(multimap.keySet().size());
65 for (Object key : multimap.keySet()) {
68 stream.writeInt(multimap.size())
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
UnmodifiableCollectionTests.java 28 import com.google.common.collect.Multimap;
251 * Verifies that a multimap is immutable.
253 * <p>A multimap is considered immutable if:
258 * multimap throw UnsupportedOperationException when those mutators
261 * @param multimap the presumed-immutable multimap
263 * {@code multimap}. {@code multimap} may or may not have {@code sampleKey} as
266 * {@code multimap}. {@code multimap} may or may not have {@code sampleValue
    [all...]
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...]
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingListMultimapTest.java 34 final ListMultimap<String, Boolean> multimap = local
38 return multimap;
ForwardingSetMultimapTest.java 34 final SetMultimap<String, Boolean> multimap = local
38 return multimap;
ForwardingSortedSetMultimapTest.java 34 final SortedSetMultimap<String, Boolean> multimap = local
38 return multimap;
MapConstraintsTest.java 212 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
213 Multimap<String, Integer> constrained = MapConstraints.constrainedMultimap(
214 multimap, TEST_CONSTRAINT);
215 multimap.put(TEST_KEY, TEST_VALUE);
217 multimap.get("bar").add(2);
219 multimap.get("qux").addAll(Arrays.asList(4));
221 multimap.putAll("zag", Arrays.asList(6));
223 multimap.putAll(new ImmutableMultimap.Builder<String, Integer>()
227 multimap.putAll(new ImmutableMultimap.Builder<String, Integer>(
265 ListMultimap<String, Integer> multimap local
278 ListMultimap<String, Integer> multimap local
291 SetMultimap<String, Integer> multimap local
305 SortedSetMultimap<String, Integer> multimap local
318 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
428 Multimap<String, Integer> multimap = Multimaps.newMultimap( local
485 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
505 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
520 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
534 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
548 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
563 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
587 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
597 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
607 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
    [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...]
ImmutableSetMultimapTest.java 74 ImmutableSetMultimap<String, Integer> multimap = new Builder<String, Integer>() local
77 assertEquals(ImmutableSet.of(1), multimap.get("one"));
123 Multimap<String, Integer> multimap = builder.build(); local
124 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
125 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
126 assertEquals(7, multimap.size());
135 Multimap<String, Integer> multimap = builder.build(); local
136 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"))
155 Multimap<String, Integer> multimap = builder.build(); local
167 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
177 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
191 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
251 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
276 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
296 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
323 ImmutableSetMultimap<String, Integer> multimap = builder.build(); local
344 Multimap<String, Integer> multimap = ImmutableSetMultimap.copyOf(input); local
362 Multimap<String, Integer> multimap = ImmutableSetMultimap.copyOf(input); local
368 Multimap<String, Integer> multimap = createMultimap(); local
391 Multimap<String, Integer> multimap = ImmutableSetMultimap.of(); local
408 Multimap<String, Integer> multimap = ImmutableSetMultimap.of(); local
414 Multimap<String, Integer> multimap = createMultimap(); local
429 Multimap<String, Integer> multimap = createMultimap(); local
435 Multimap<String, Integer> multimap = createMultimap(); local
491 ImmutableSetMultimap<String, Character> multimap = local
509 Multimap<String, Integer> multimap = createMultimap(); local
525 Multimap<String, Integer> multimap = ImmutableSetMultimap.of(); local
531 Multimap<String, Integer> multimap = new ImmutableSetMultimap.Builder<String, Integer>() local
    [all...]
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...]
MultimapsFilterEntriesAsMapTest.java 45 private Multimap<String, Integer> createMultimap() {
46 Multimap<String, Integer> unfiltered = HashMultimap.create();
54 Multimap<String, Integer> multimap = createMultimap(); local
55 return multimap.asMap();
59 Multimap<String, Integer> multimap = createMultimap(); local
60 populate(multimap);
61 return multimap.asMap();
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...]
TreeMultimapNaturalTest.java 72 SetMultimap<String, String> multimap = TreeMultimap.create(
75 multimap.put(entry.getKey(), entry.getValue());
77 return multimap;
108 TreeMultimap<String, Integer> multimap = TreeMultimap.create(
111 multimap.put(elements[i], i);
113 return multimap.keySet();
171 TreeMultimap<String, String> multimap = TreeMultimap.create();
175 checkArgument(!multimap.containsKey(entry.getKey()));
176 multimap.putAll(entry.getKey(), entry.getValue());
178 return multimap.asMap()
265 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
277 SetMultimap<String, Integer> multimap = create(); local
285 TreeMultimap<String, Integer> multimap = createPopulate(); local
292 TreeMultimap<String, Integer> multimap = createPopulate(); local
297 TreeMultimap<String, Integer> multimap = createPopulate(); local
312 TreeMultimap<String, Integer> multimap = createPopulate(); local
324 TreeMultimap<String, Integer> multimap = createPopulate(); local
330 SetMultimap<String, Integer> multimap = create(); local
398 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
405 TreeMultimap<String, Integer> multimap = createPopulate(); local
416 TreeMultimap<DerivedComparable, DerivedComparable> multimap = TreeMultimap.create(); local
417 assertEquals(ImmutableMultimap.of(), multimap); local
436 TreeMultimap<LegacyComparable, LegacyComparable> multimap local
438 assertEquals(ImmutableMultimap.of(), multimap); local
459 TreeMultimap<String, Integer> multimap = createPopulate(); local
476 TreeMultimap<String, Integer> multimap = TreeMultimap.create(); local
    [all...]
MultimapsTest.java 109 Multimap<String, Integer> mod = HashMultimap.create();
110 Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod);
115 assertSame(immutable, Multimaps.unmodifiableMultimap((Multimap<String, Integer>) immutable));
126 Multimap<String, Integer> unmodifiable =
135 ListMultimap<String, Integer> multimap local
137 assertTrue(multimap.get("foo") instanceof RandomAccess);
138 assertTrue(multimap.get("bar") instanceof RandomAccess);
145 ListMultimap<String, Integer> multimap local
147 assertFalse(multimap.get("foo") instanceof RandomAccess);
148 assertFalse(multimap.get("bar") instanceof RandomAccess)
208 SortedSetMultimap<String, Integer> multimap local
218 SortedSetMultimap<String, Integer> multimap = local
358 Multimap<String, Integer> multimap = Multimaps.invertFrom(empty, local
381 Multimap<String, Integer> multimap = Multimaps.newMultimap( local
410 Multimap<String, Integer> multimap = HashMultimap.create(); local
490 Multimap<String, Integer> multimap = Multimaps.forMap(map); local
603 Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); local
628 Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); local
651 Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); local
668 ListMultimap<Color, Integer> multimap = local
686 ListMultimap<Color, Integer> multimap = Multimaps.newListMultimap(map, factory); local
702 SetMultimap<Color, Integer> multimap = local
716 SetMultimap<Color, Integer> multimap = Multimaps.newSetMultimap(map, factory); local
733 SortedSetMultimap<Color, Integer> multimap = local
749 SortedSetMultimap<Color, Integer> multimap = Multimaps.newSortedSetMultimap(map, factory); local
832 SetMultimap<String, Integer> multimap = local
848 Multimap<String, String> multimap = LinkedListMultimap.create(); local
864 ListMultimap<String, Integer> multimap = local
881 SetMultimap<String, Integer> multimap = local
898 ListMultimap<String, Integer> multimap = local
918 Multimap<K, V> multimap = Multimaps.synchronizedMultimap( local
932 SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
953 SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
976 ListMultimap<String, Integer> multimap = ArrayListMultimap.create(); 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...]
  /external/guava/guava/src/com/google/common/collect/
FilteredMultimapValues.java 39 private final FilteredMultimap<K, V> multimap; field in class:FilteredMultimapValues
41 FilteredMultimapValues(FilteredMultimap<K, V> multimap) {
42 this.multimap = checkNotNull(multimap);
47 return Maps.valueIterator(multimap.entries().iterator());
52 return multimap.containsValue(o);
57 return multimap.size();
62 Predicate<? super Entry<K, V>> entryPredicate = multimap.entryPredicate();
63 for (Iterator<Entry<K, V>> unfilteredItr = multimap.unfiltered().entries().iterator();
76 return Iterables.removeIf(multimap.unfiltered().entries()
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
MapConstraintsTest.java 210 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
211 Multimap<String, Integer> constrained = MapConstraints.constrainedMultimap(
212 multimap, TEST_CONSTRAINT);
213 multimap.put(TEST_KEY, TEST_VALUE);
215 multimap.get("bar").add(2);
217 multimap.get("qux").addAll(Arrays.asList(4));
219 multimap.putAll("zag", Arrays.asList(6));
221 multimap.putAll(new ImmutableMultimap.Builder<String, Integer>()
225 multimap.putAll(new ImmutableMultimap.Builder<String, Integer>(
263 ListMultimap<String, Integer> multimap local
276 ListMultimap<String, Integer> multimap local
289 SetMultimap<String, Integer> multimap local
303 SortedSetMultimap<String, Integer> multimap local
316 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
426 Multimap<String, Integer> multimap = Multimaps.newMultimap( local
483 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
503 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
518 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
532 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
546 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
561 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
585 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
595 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
605 Multimap<String, Integer> multimap = LinkedListMultimap.create(); local
    [all...]
MultimapBuilderTest.java 44 ListMultimap<String, Integer> multimap = local
46 assertTrue(multimap.keySet() instanceof SortedSet);
47 assertTrue(multimap.asMap() instanceof SortedMap);
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...]
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...]
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...]
MultimapsTest.java 105 Multimap<String, Integer> mod = HashMultimap.create();
106 Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod);
111 assertSame(immutable, Multimaps.unmodifiableMultimap((Multimap<String, Integer>) immutable));
118 ListMultimap<String, Integer> multimap local
120 assertTrue(multimap.get("foo") instanceof RandomAccess);
121 assertTrue(multimap.get("bar") instanceof RandomAccess);
128 ListMultimap<String, Integer> multimap local
130 assertFalse(multimap.get("foo") instanceof RandomAccess);
131 assertFalse(multimap.get("bar") instanceof RandomAccess);
135 Multimap<String, Integer> mod = HashMultimap.create()
266 Multimap<String, Integer> multimap = Multimaps.invertFrom(empty, local
289 Multimap<String, Integer> multimap = Multimaps.newMultimap( local
318 Multimap<String, Integer> multimap = HashMultimap.create(); local
389 Multimap<String, Integer> multimap = Multimaps.forMap(map); local
502 Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); local
527 Multimap<Color, Integer> multimap = Multimaps.newMultimap(map, factory); local
557 ListMultimap<Color, Integer> multimap = local
581 SetMultimap<Color, Integer> multimap = local
602 SortedSetMultimap<Color, Integer> multimap = local
691 Multimap<K, V> multimap = Multimaps.synchronizedMultimap( local
705 SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
726 SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); local
749 ListMultimap<String, Integer> multimap = ArrayListMultimap.create(); 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...]

Completed in 574 milliseconds

1 2 3 4 5 6 7 8 91011>>