Home
last modified time | relevance | path

Searched refs:ImmutableSetMultimap (Results 1 – 25 of 52) sorted by relevance

123

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSetMultimapTest.java22 import com.google.common.collect.ImmutableSetMultimap.Builder;
41 ImmutableSetMultimap<String, Integer> multimap = new Builder<String, Integer>() in testBuilder_withImmutableEntry()
66 ImmutableSetMultimap.Builder<String, Integer> builder = in testBuilder_withMutableEntry()
85 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllIterable()
86 = ImmutableSetMultimap.builder(); in testBuilderPutAllIterable()
97 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllVarargs()
98 = ImmutableSetMultimap.builder(); in testBuilderPutAllVarargs()
118 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllMultimap()
119 = ImmutableSetMultimap.builder(); in testBuilderPutAllMultimap()
129 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllWithDuplicates()
[all …]
DImmutableMapTest.java433 ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of( in testAsMultimap()
440 ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of(); in testAsMultimapWhenEmpty()
446 ImmutableSetMultimap<String, Integer> multimap1 = map.asMultimap(); in testAsMultimapCaches()
447 ImmutableSetMultimap<String, Integer> multimap2 = map.asMultimap(); in testAsMultimapCaches()
DImmutableMultimapTest.java86 ImmutableSetMultimap<String, String> setMultimap in testCopyOf()
87 = ImmutableSetMultimap.of("k1", "v1"); in testCopyOf()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSetMultimapTest.java23 import com.google.common.collect.ImmutableSetMultimap.Builder;
56 ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder(); in suite()
74 ImmutableSetMultimap<String, Integer> multimap = new Builder<String, Integer>() in testBuilder_withImmutableEntry()
99 ImmutableSetMultimap.Builder<String, Integer> builder = in testBuilder_withMutableEntry()
118 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllIterable()
119 = ImmutableSetMultimap.builder(); in testBuilderPutAllIterable()
130 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllVarargs()
131 = ImmutableSetMultimap.builder(); in testBuilderPutAllVarargs()
151 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllMultimap()
152 = ImmutableSetMultimap.builder(); in testBuilderPutAllMultimap()
[all …]
DImmutableSetMultimapAsMapImplementsMapTest.java40 return ImmutableSetMultimap.<String, Integer>of().asMap(); in makeEmptyMap()
46 return ImmutableSetMultimap.copyOf(delegate).asMap(); in makePopulatedMap()
DMultimapsCollectionTest.java637 ImmutableSetMultimap<String, Integer> badEntries = in filterSuite()
638 ImmutableSetMultimap.of("foo", 314, "one", 159, "two", 265, "bar", 358); in filterSuite()
655 ImmutableSetMultimap<String, Integer> badEntries = in filterSuite()
656 ImmutableSetMultimap.of("foo", 314, "one", 159, "two", 265, "bar", 358); in filterSuite()
675 ImmutableSetMultimap<String, Integer> badEntries = in filterSuite()
676 ImmutableSetMultimap.of("foo", 314, "one", 159, "two", 265, "bar", 358); in filterSuite()
695 ImmutableSetMultimap<String, Integer> badEntries = in filterSuite()
696 ImmutableSetMultimap.of("foo", 314, "bar", 358); in filterSuite()
DImmutableMultimapTest.java86 ImmutableSetMultimap<String, String> setMultimap in testCopyOf()
87 = ImmutableSetMultimap.of("k1", "v1"); in testCopyOf()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSetMultimap.java59 public class ImmutableSetMultimap<K, V> class
66 public static <K, V> ImmutableSetMultimap<K, V> of() { in of()
67 return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE; in of()
73 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { in of()
74 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
84 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) { in of()
85 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
96 public static <K, V> ImmutableSetMultimap<K, V> of( in of()
98 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
110 public static <K, V> ImmutableSetMultimap<K, V> of( in of()
[all …]
DImmutableMap.java245 private transient ImmutableSetMultimap<K, V> multimapView;
247 public ImmutableSetMultimap<K, V> asMultimap() { in asMultimap()
248 ImmutableSetMultimap<K, V> result = multimapView; in asMultimap()
252 private ImmutableSetMultimap<K, V> createMultimapView() { in createMultimapView()
254 return new ImmutableSetMultimap<K, V>(map, map.size(), null); in createMultimapView()
/external/guava/guava/src/com/google/common/collect/
DImmutableSetMultimap.java65 public class ImmutableSetMultimap<K, V> class
72 public static <K, V> ImmutableSetMultimap<K, V> of() { in of()
73 return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE; in of()
79 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { in of()
80 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
90 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) { in of()
91 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
102 public static <K, V> ImmutableSetMultimap<K, V> of( in of()
104 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
116 public static <K, V> ImmutableSetMultimap<K, V> of( in of()
[all …]
DEmptyImmutableBiMap.java65 public ImmutableSetMultimap<Object, Object> asMultimap() { in asMultimap()
66 return ImmutableSetMultimap.of(); in asMultimap()
DEmptyImmutableSortedMap.java92 public ImmutableSetMultimap<K, V> asMultimap() { in asMultimap()
93 return ImmutableSetMultimap.of(); in asMultimap()
DImmutableMap.java427 private transient ImmutableSetMultimap<K, V> multimapView;
435 public ImmutableSetMultimap<K, V> asMultimap() { in asMultimap()
436 ImmutableSetMultimap<K, V> result = multimapView; in asMultimap()
440 private ImmutableSetMultimap<K, V> createMultimapView() { in createMultimapView()
442 return new ImmutableSetMultimap<K, V>(map, map.size(), null); in createMultimapView()
/external/guava/guava-gwt/src/com/google/common/collect/
DImmutableSetMultimap_CustomFieldSerializer.java33 ImmutableSetMultimap<?, ?> instance) { in deserialize() argument
38 public static ImmutableSetMultimap<Object, Object> instantiate( in instantiate()
41 ImmutableSetMultimap.Builder<Object, Object> builder = ImmutableSetMultimap.builder(); in instantiate()
45 return (ImmutableSetMultimap<Object, Object>) in instantiate()
50 ImmutableSetMultimap<?, ?> instance) throws SerializationException { in serialize() argument
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DParameterSet.java21 import com.google.common.collect.ImmutableSetMultimap;
66 public ImmutableSetMultimap<String, String> fillInDefaultsFor( in fillInDefaultsFor()
67 ImmutableSetMultimap<String, String> explicitValues) throws InvalidBenchmarkException { in fillInDefaultsFor()
68 ImmutableSetMultimap.Builder<String, String> combined = ImmutableSetMultimap.builder(); in fillInDefaultsFor()
DFullCartesianExperimentSelector.java24 import com.google.common.collect.ImmutableSetMultimap;
43 private final ImmutableSetMultimap<String, String> userParameters;
48 @BenchmarkParameters ImmutableSetMultimap<String, String> userParameters) { in FullCartesianExperimentSelector()
69 @Override public ImmutableSetMultimap<String, String> userParameters() {
DExperimentSelector.java20 import com.google.common.collect.ImmutableSetMultimap;
25 ImmutableSetMultimap<String, String> userParameters(); in userParameters()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DResolvedBindings.java23 import com.google.common.collect.ImmutableSetMultimap;
56 abstract ImmutableSetMultimap<ComponentDescriptor, ContributionBinding> allContributionBindings(); in allContributionBindings()
157 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>copyOf(contributionBindings), in forContributionBindings()
171 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>builder() in forContributionBindings()
187 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>of(), in forMembersInjectionBinding()
198 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>of(), in noBindings()
DSourceFiles.java22 import com.google.common.collect.ImmutableSetMultimap;
81 static ImmutableSetMultimap<BindingKey, DependencyRequest> indexDependenciesByUnresolvedKey( in indexDependenciesByUnresolvedKey()
83 ImmutableSetMultimap.Builder<BindingKey, DependencyRequest> dependenciesByKeyBuilder = in indexDependenciesByUnresolvedKey()
84 new ImmutableSetMultimap.Builder<BindingKey, DependencyRequest>() in indexDependenciesByUnresolvedKey()
106 static ImmutableSetMultimap<BindingKey, DependencyRequest> indexDependenciesByKey( in indexDependenciesByKey()
108 ImmutableSetMultimap.Builder<BindingKey, DependencyRequest> dependenciesByKeyBuilder = in indexDependenciesByKey()
109 new ImmutableSetMultimap.Builder<BindingKey, DependencyRequest>() in indexDependenciesByKey()
132 ImmutableSetMultimap<BindingKey, DependencyRequest> dependenciesByKey = in generateBindingFieldsForDependencies()
DContributionBinding.java25 import com.google.common.collect.ImmutableSetMultimap;
257 static ImmutableSetMultimap<Object, ContributionBinding> indexMapBindingsByMapKey(
259 return ImmutableSetMultimap.copyOf(
275 static ImmutableSetMultimap<Wrapper<DeclaredType>, ContributionBinding>
277 return ImmutableSetMultimap.copyOf(
DBindingGraph.java28 import com.google.common.collect.ImmutableSetMultimap;
263 private <B extends ContributionBinding> ImmutableSetMultimap<Key, B> explicitBindingsByKey(
266 ImmutableSetMultimap.Builder<Key, B> builder = ImmutableSetMultimap.builder();
276 final ImmutableSetMultimap<Key, ContributionBinding> explicitBindings;
286 ImmutableSetMultimap<Key, ContributionBinding> explicitBindings) {
342 ImmutableSetMultimap.Builder<ComponentDescriptor, ContributionBinding> bindings =
343 ImmutableSetMultimap.builder();
380 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>builder()
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMultimapTypeAdapterFactory.java21 import com.google.common.collect.ImmutableSetMultimap;
92 } else if (ImmutableSetMultimap.class.isAssignableFrom(typeToken.getRawType())) { in create()
100 ImmutableSetMultimap<?, ?> multimap = (ImmutableSetMultimap<?, ?>) value; in create()
106 ImmutableSetMultimap.Builder builder = ImmutableSetMultimap.builder(); in create()
/external/caliper/caliper/src/main/java/com/google/caliper/options/
DCaliperOptions.java20 import com.google.common.collect.ImmutableSetMultimap;
28 ImmutableSetMultimap<String, String> userParameters(); in userParameters()
29 ImmutableSetMultimap<String, String> vmArguments(); in vmArguments()
DParsedOptions.java32 import com.google.common.collect.ImmutableSetMultimap;
222 @Override public ImmutableSetMultimap<String, String> userParameters() { in userParameters()
224 return new ImmutableSetMultimap.Builder<String, String>() in userParameters()
242 @Override public ImmutableSetMultimap<String, String> vmArguments() { in vmArguments()
244 return new ImmutableSetMultimap.Builder<String, String>() in vmArguments()
/external/caliper/caliper/src/test/java/com/google/caliper/options/
DParsedOptionsTest.java29 import com.google.common.collect.ImmutableSetMultimap;
156 assertEquals(ImmutableSetMultimap.of("x", "a", "x", "b", "x", "c", "y", "b", "y", "d"), in testKitchenSink()
161 assertEquals(ImmutableSetMultimap.of("memoryMax", "-Xmx32m", "memoryMax", "-Xmx64m"), in testKitchenSink()

123