Home
last modified time | relevance | path

Searched refs:HashMultimap (Results 1 – 25 of 54) sorted by relevance

123

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DHashMultimapTest.java36 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreate()
45 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreateFromMultimap()
49 HashMultimap<String, Integer> copy = HashMultimap.create(multimap); in testCreateFromMultimap()
55 HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15); in testCreateFromSizes()
65 HashMultimap.create(-20, 15); in testCreateFromIllegalSizes()
70 HashMultimap.create(20, -15); in testCreateFromIllegalSizes()
76 Multimap<String, Integer> setMultimap = HashMultimap.create(); in testEmptyMultimapsEqual()
DImmutableSetMultimapTest.java307 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOf()
328 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOfEmpty()
340 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOfNullKey()
349 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOfNullValue()
363 assertTrue(multimap.equals(HashMultimap.create())); in testEmptyMultimapReads()
403 Multimap<String, Integer> hashMultimap = HashMultimap.create(); in testMultimapEquals()
DMultimapsTest.java92 SetMultimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableSetMultimapShortCircuit()
105 Multimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableMultimapShortCircuit()
135 Multimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableMultimapIsView()
145 Multimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableMultimapEntries()
318 Multimap<String, Integer> multimap = HashMultimap.create(); in testForMap()
326 Multimap<String, Integer> multimap2 = HashMultimap.create(); in testForMap()
692 HashMultimap.<K, V>create()); in testSynchronizedMultimapSampleCodeCompilation()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DHashMultimap.java45 public final class HashMultimap<K, V> extends AbstractSetMultimap<K, V> { class
55 public static <K, V> HashMultimap<K, V> create() { in create()
56 return new HashMultimap<K, V>(); in create()
68 public static <K, V> HashMultimap<K, V> create( in create()
70 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
80 public static <K, V> HashMultimap<K, V> create( in create()
82 return new HashMultimap<K, V>(multimap); in create()
85 private HashMultimap() { in HashMultimap() method in HashMultimap
89 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { in HashMultimap() method in HashMultimap
95 private HashMultimap(Multimap<? extends K, ? extends V> multimap) { in HashMultimap() method in HashMultimap
/external/guava/guava-tests/test/com/google/common/collect/
DHashMultimapTest.java47 SetMultimap<String, String> multimap = HashMultimap.create(); in suite()
74 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreate()
83 HashMultimap<String, Integer> multimap = HashMultimap.create(); in testCreateFromMultimap()
87 HashMultimap<String, Integer> copy = HashMultimap.create(multimap); in testCreateFromMultimap()
93 HashMultimap<String, Integer> multimap = HashMultimap.create(20, 15); in testCreateFromSizes()
103 HashMultimap.create(-20, 15); in testCreateFromIllegalSizes()
108 HashMultimap.create(20, -15); in testCreateFromIllegalSizes()
114 Multimap<String, Integer> setMultimap = HashMultimap.create(); in testEmptyMultimapsEqual()
DFilteredMultimapTest.java44 Multimap<String, Integer> unfiltered = HashMultimap.create(); in create()
58 Multimap<String, Integer> unfiltered = HashMultimap.create(); in testFilterKeys()
74 Multimap<String, Integer> unfiltered = HashMultimap.create(); in testFilterValues()
84 Multimap<String, Integer> unfiltered = HashMultimap.create(); in testFilterFiltered()
DImmutableSetMultimapTest.java340 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOf()
361 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOfEmpty()
373 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOfNullKey()
382 HashMultimap<String, Integer> input = HashMultimap.create(); in testCopyOfNullValue()
396 assertTrue(multimap.equals(HashMultimap.create())); in testEmptyMultimapReads()
436 Multimap<String, Integer> hashMultimap = HashMultimap.create(); in testMultimapEquals()
DMultimapsTest.java96 SetMultimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableSetMultimapShortCircuit()
109 Multimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableMultimapShortCircuit()
153 checkUnmodifiableMultimap(HashMultimap.<String, Integer>create(), false); in testUnmodifiableHashMultimap()
159 prepareUnmodifiableTests(HashMultimap.<String, Integer>create(), false, null, null); in testSerializingUnmodifiableHashMultimap()
193 HashMultimap.<String, Integer>create()), false); in testUnmodifiableSynchronizedHashMultimap()
200 HashMultimap.<String, Integer>create()), false, null, null); in testSerializingUnmodifiableSynchronizedHashMultimap()
227 Multimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableMultimapIsView()
237 Multimap<String, Integer> mod = HashMultimap.create(); in testUnmodifiableMultimapEntries()
410 Multimap<String, Integer> multimap = HashMultimap.create(); in testForMap()
418 Multimap<String, Integer> multimap2 = HashMultimap.create(); in testForMap()
[all …]
DImmutableMultimapAsMapImplementsMapTest.java44 Multimap<String, Integer> delegate = HashMultimap.create(); in makePopulatedMap()
DImmutableSetMultimapAsMapImplementsMapTest.java44 Multimap<String, Integer> delegate = HashMultimap.create(); in makePopulatedMap()
DMultimapsFilterEntriesAsMapTest.java46 Multimap<String, Integer> unfiltered = HashMultimap.create(); in createMultimap()
DConstrainedSetMultimapTest.java56 SetMultimap<String, String> multimap = HashMultimap.create(); in suite()
/external/guava/guava/src/com/google/common/collect/
DHashMultimap.java50 public final class HashMultimap<K, V> extends AbstractSetMultimap<K, V> { class
60 public static <K, V> HashMultimap<K, V> create() { in create()
61 return new HashMultimap<K, V>(); in create()
73 public static <K, V> HashMultimap<K, V> create( in create()
75 return new HashMultimap<K, V>(expectedKeys, expectedValuesPerKey); in create()
85 public static <K, V> HashMultimap<K, V> create( in create()
87 return new HashMultimap<K, V>(multimap); in create()
90 private HashMultimap() { in HashMultimap() method in HashMultimap
94 private HashMultimap(int expectedKeys, int expectedValuesPerKey) { in HashMultimap() method in HashMultimap
100 private HashMultimap(Multimap<? extends K, ? extends V> multimap) { in HashMultimap() method in HashMultimap
/external/guava/guava-gwt/src/com/google/common/collect/
DHashMultimap_CustomFieldSerializer.java32 HashMultimap<?, ?> out) { in deserialize() argument
35 public static HashMultimap<Object, Object> instantiate( in instantiate()
37 return (HashMultimap<Object, Object>) in instantiate()
38 Multimap_CustomFieldSerializerBase.populate(in, HashMultimap.create()); in instantiate()
42 HashMultimap<?, ?> multimap) throws SerializationException { in serialize() argument
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java7 import com.google.common.collect.HashMultimap;
86 private HashMultimap<String, TypeElement> typeMap = HashMultimap.create();
174 final HashMultimap<String, TypeElement> nextRound = HashMultimap.create(); in prepare()
/external/guava/guava/src/com/google/common/eventbus/
DAnnotatedSubscriberFinder.java24 import com.google.common.collect.HashMultimap;
70 Multimap<Class<?>, EventSubscriber> methodsInListener = HashMultimap.create(); in findAllSubscribers()
DEventBus.java27 import com.google.common.collect.HashMultimap;
139 HashMultimap.create();
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DXCldrStub.java210 public static class HashMultimap<K, V> extends Multimap<K, V> { class in XCldrStub
211 private HashMultimap() { in HashMultimap() method in XCldrStub.HashMultimap
214 public static <K, V> HashMultimap<K, V> create() { in create()
215 return new HashMultimap<>(); in create()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXCldrStub.java199 public static class HashMultimap<K, V> extends Multimap<K, V> { class in XCldrStub
200 private HashMultimap() { in HashMultimap() method in XCldrStub.HashMultimap
203 public static <K, V> HashMultimap<K, V> create() { in create()
204 return new HashMultimap<>(); in create()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateSubdivisions.java22 import com.google.common.collect.HashMultimap;
62 static final Multimap<String, String> subdivisionIdToOld = HashMultimap.create();
DWritePluralRulesSpreadsheets.java25 import com.google.common.collect.HashMultimap;
55 Multimap<Set<String>, String> missingMinimalPairs = HashMultimap.create(); in ranges()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMeasureToViewMap.java19 import com.google.common.collect.HashMultimap;
57 HashMultimap.<String, MutableViewData>create();
/external/guava/guava-testlib/src/com/google/common/testing/
DAbstractPackageSanityTests.java27 import com.google.common.collect.HashMultimap;
305 Multimap<Class<?>, Class<?>> testClasses = HashMultimap.create(); in findClassesToTest()
/external/guice/core/src/com/google/inject/internal/
DProviderMethodsModule.java21 import com.google.common.collect.HashMultimap;
138 methodsBySignature = HashMultimap.create(); in getProviderMethods()
/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java31 import com.google.common.collect.HashMultimap;
501 assertFreshInstance(new TypeToken<HashMultimap<String, ?>>() {}); in testHashMultimap()
503 HashMultimap<String, Integer> expected = HashMultimap.create(); in testHashMultimap()
506 new FreshValueGenerator().generate(new TypeToken<HashMultimap<String, Integer>>() {})); in testHashMultimap()

123