Home
last modified time | relevance | path

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

1234

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSetMultimapTest.java28 import com.google.common.collect.ImmutableSetMultimap.Builder;
57 ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder(); in create()
69 return ImmutableSetMultimap.copyOf(Arrays.asList(entries)); in create()
91 ImmutableSetMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry()
115 ImmutableSetMultimap.Builder<String, Integer> builder = new Builder<>(); in testBuilder_withMutableEntry()
137 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllIterable()
148 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllVarargs()
168 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllMultimap()
178 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllWithDuplicates()
182 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableSetMultimapTest.java26 import com.google.common.collect.ImmutableSetMultimap.Builder;
52 ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder(); in create()
64 return ImmutableSetMultimap.copyOf(Arrays.asList(entries)); in create()
86 ImmutableSetMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry()
110 ImmutableSetMultimap.Builder<String, Integer> builder = new Builder<>(); in testBuilder_withMutableEntry()
132 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllIterable()
143 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllVarargs()
163 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllMultimap()
173 ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); in testBuilderPutAllWithDuplicates()
177 ImmutableSetMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates()
[all …]
/external/nullaway/sample-library-model/src/main/java/com/uber/modelexample/
DExampleLibraryModels.java22 import com.google.common.collect.ImmutableSetMultimap;
29 public ImmutableSetMultimap<MethodRef, Integer> failIfNullParameters() { in failIfNullParameters()
30 return ImmutableSetMultimap.of(); in failIfNullParameters()
34 public ImmutableSetMultimap<MethodRef, Integer> explicitlyNullableParameters() { in explicitlyNullableParameters()
35 return ImmutableSetMultimap.of(); in explicitlyNullableParameters()
39 public ImmutableSetMultimap<MethodRef, Integer> nonNullParameters() { in nonNullParameters()
40 return ImmutableSetMultimap.of(); in nonNullParameters()
44 public ImmutableSetMultimap<MethodRef, Integer> nullImpliesTrueParameters() { in nullImpliesTrueParameters()
45 return ImmutableSetMultimap.<MethodRef, Integer>builder() in nullImpliesTrueParameters()
51 public ImmutableSetMultimap<MethodRef, Integer> nullImpliesFalseParameters() { in nullImpliesFalseParameters()
[all …]
/external/nullaway/test-library-models/src/main/java/com/uber/nullaway/testlibrarymodels/
DTestLibraryModels.java22 import com.google.common.collect.ImmutableSetMultimap;
29 public ImmutableSetMultimap<MethodRef, Integer> failIfNullParameters() { in failIfNullParameters()
30 return ImmutableSetMultimap.of(); in failIfNullParameters()
34 public ImmutableSetMultimap<MethodRef, Integer> explicitlyNullableParameters() { in explicitlyNullableParameters()
35 return ImmutableSetMultimap.of(); in explicitlyNullableParameters()
39 public ImmutableSetMultimap<MethodRef, Integer> nonNullParameters() { in nonNullParameters()
40 return new ImmutableSetMultimap.Builder<MethodRef, Integer>() in nonNullParameters()
50 public ImmutableSetMultimap<MethodRef, Integer> nullImpliesTrueParameters() { in nullImpliesTrueParameters()
51 return ImmutableSetMultimap.of(); in nullImpliesTrueParameters()
55 public ImmutableSetMultimap<MethodRef, Integer> nullImpliesFalseParameters() { in nullImpliesFalseParameters()
[all …]
/external/guava/guava/src/com/google/common/collect/
DImmutableSetMultimap.java61 public class ImmutableSetMultimap<K, V> extends ImmutableMultimap<K, V> class
92 Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap( in toImmutableSetMultimap()
139 Collector<T, ?, ImmutableSetMultimap<K, V>> flatteningToImmutableSetMultimap( in flatteningToImmutableSetMultimap()
152 public static <K, V> ImmutableSetMultimap<K, V> of() { in of()
153 return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE; in of()
157 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { in of()
158 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
167 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) { in of()
168 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
178 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { in of()
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DImmutableSetMultimap.java57 public class ImmutableSetMultimap<K, V> extends ImmutableMultimap<K, V> class
67 public static <K, V> ImmutableSetMultimap<K, V> of() { in of()
68 return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE; in of()
72 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1) { in of()
73 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
82 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2) { in of()
83 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
93 public static <K, V> ImmutableSetMultimap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { in of()
94 ImmutableSetMultimap.Builder<K, V> builder = ImmutableSetMultimap.builder(); in of()
105 public static <K, V> ImmutableSetMultimap<K, V> of( in of()
[all …]
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/
DLibraryModelsHandler.java30 import com.google.common.collect.ImmutableSetMultimap;
237 private static final ImmutableSetMultimap<MethodRef, Integer> FAIL_IF_NULL_PARAMETERS =
238 new ImmutableSetMultimap.Builder<MethodRef, Integer>()
384 private static final ImmutableSetMultimap<MethodRef, Integer> EXPLICITLY_NULLABLE_PARAMETERS =
385 new ImmutableSetMultimap.Builder<MethodRef, Integer>()
396 private static final ImmutableSetMultimap<MethodRef, Integer> NON_NULL_PARAMETERS =
397 new ImmutableSetMultimap.Builder<MethodRef, Integer>()
483 private static final ImmutableSetMultimap<MethodRef, Integer> NULL_IMPLIES_TRUE_PARAMETERS =
484 new ImmutableSetMultimap.Builder<MethodRef, Integer>()
513 private static final ImmutableSetMultimap<MethodRef, Integer> NULL_IMPLIES_FALSE_PARAMETERS =
[all …]
/external/auto/common/src/main/java/com/google/auto/common/
DBasicAnnotationProcessor.java37 import com.google.common.collect.ImmutableSetMultimap;
217 private void process(ImmutableSetMultimap<TypeElement, Element> validElements) { in process()
220 ImmutableSetMultimap<TypeElement, Element> stepElements = in process()
221 new ImmutableSetMultimap.Builder<TypeElement, Element>() in process()
263 private ImmutableSetMultimap<TypeElement, Element> validElements(RoundEnvironment roundEnv) { in validElements()
267 ImmutableSetMultimap.Builder<TypeElement, Element> deferredElementsByAnnotationBuilder = in validElements()
268 ImmutableSetMultimap.builder(); in validElements()
281 ImmutableSetMultimap<TypeElement, Element> deferredElementsByAnnotation = in validElements()
284 ImmutableSetMultimap.Builder<TypeElement, Element> validElements = in validElements()
285 ImmutableSetMultimap.builder(); in validElements()
[all …]
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/
DLibraryModels.java26 import com.google.common.collect.ImmutableSetMultimap;
41 ImmutableSetMultimap<MethodRef, Integer> failIfNullParameters(); in failIfNullParameters()
52 ImmutableSetMultimap<MethodRef, Integer> explicitlyNullableParameters(); in explicitlyNullableParameters()
65 ImmutableSetMultimap<MethodRef, Integer> nonNullParameters(); in nonNullParameters()
73 ImmutableSetMultimap<MethodRef, Integer> nullImpliesTrueParameters(); in nullImpliesTrueParameters()
81 ImmutableSetMultimap<MethodRef, Integer> nullImpliesFalseParameters(); in nullImpliesFalseParameters()
94 ImmutableSetMultimap<MethodRef, Integer> nullImpliesNullParameters(); in nullImpliesNullParameters()
/external/auto/common/src/test/java/com/google/auto/common/
DBasicAnnotationProcessorTest.java32 import com.google.common.collect.ImmutableSetMultimap;
77 final ImmutableList.Builder<ImmutableSetMultimap<String, Element>> processArguments =
86 ImmutableSetMultimap<String, Element> elementsByAnnotation) { in steps()
87 processArguments.add(ImmutableSetMultimap.copyOf(elementsByAnnotation)); in steps()
106 ImmutableSetMultimap<String, Element> elementsByAnnotation) { in steps()
117 ImmutableList<ImmutableSetMultimap<String, Element>> processArguments() { in processArguments()
133 ImmutableSetMultimap<String, Element> elementsByAnnotation) {
157 ImmutableSetMultimap<String, Element> elementsByAnnotation) {
184 ImmutableSetMultimap<String, Element> elementsByAnnotation) {
201 private ImmutableSetMultimap<String, Element> elementsByAnnotation;
[all …]
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DComponentDependencies.java24 import com.google.common.collect.ImmutableSetMultimap;
41 public abstract ImmutableSetMultimap<ClassName, TypeElement> modules(); in modules()
44 public abstract ImmutableSetMultimap<ClassName, TypeElement> entryPoints(); in entryPoints()
47 public abstract ImmutableSetMultimap<ClassName, TypeElement> componentEntryPoints(); in componentEntryPoints()
51 abstract ImmutableSetMultimap.Builder<ClassName, TypeElement> modulesBuilder(); in modulesBuilder()
53 abstract ImmutableSetMultimap.Builder<ClassName, TypeElement> entryPointsBuilder(); in entryPointsBuilder()
55 abstract ImmutableSetMultimap.Builder<ClassName, TypeElement> componentEntryPointsBuilder(); in componentEntryPointsBuilder()
/external/dagger2/java/dagger/internal/codegen/binding/
DComponentCreatorDescriptor.java36 import com.google.common.collect.ImmutableSetMultimap;
73 abstract ImmutableSetMultimap<ComponentRequirement, XMethodElement> unvalidatedSetterMethods(); in unvalidatedSetterMethods()
81 abstract ImmutableSetMultimap<ComponentRequirement, XExecutableParameterElement>
91 public final ImmutableSetMultimap<ComponentRequirement, XElement>
96 return ImmutableSetMultimap.copyOf( // no actual copy in unvalidatedRequirementElements()
158 ImmutableSetMultimap.Builder<ComponentRequirement, XMethodElement> setterMethods = in create()
159 ImmutableSetMultimap.builder(); in create()
176 ImmutableSetMultimap.Builder<ComponentRequirement, XExecutableParameterElement> in create()
177 factoryParameters = ImmutableSetMultimap.builder(); in create()
DResolvedBindings.java28 import com.google.common.collect.ImmutableSetMultimap;
51 abstract ImmutableSetMultimap<TypeElement, ContributionBinding> allContributionBindings(); in allContributionBindings()
78 final ImmutableSetMultimap<TypeElement, ? extends Binding> allBindings() { in allBindings()
138 ImmutableSetMultimap.copyOf(contributionBindings), in forContributionBindings()
154 ImmutableSetMultimap.of(), in forMembersInjectionBinding()
167 ImmutableSetMultimap.of(), in noBindings()
DBindingGraphFactory.java47 import com.google.common.collect.ImmutableSetMultimap;
307 ImmutableSetMultimap<Key, T> indexBindingDeclarationsByKey(Iterable<T> declarations) { in indexBindingDeclarationsByKey()
308 return ImmutableSetMultimap.copyOf(Multimaps.index(declarations, BindingDeclaration::key)); in indexBindingDeclarationsByKey()
319 final ImmutableSetMultimap<Key, ContributionBinding> explicitBindings;
321 final ImmutableSetMultimap<Key, ContributionBinding> explicitMultibindings;
322 final ImmutableSetMultimap<Key, MultibindingDeclaration> multibindingDeclarations;
323 final ImmutableSetMultimap<Key, SubcomponentDeclaration> subcomponentDeclarations;
324 final ImmutableSetMultimap<Key, DelegateDeclaration> delegateDeclarations;
325 final ImmutableSetMultimap<Key, OptionalBindingDeclaration> optionalBindingDeclarations;
326 final ImmutableSetMultimap<Key, DelegateDeclaration> delegateMultibindingDeclarations;
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DPartitionInfo.java22 import com.google.common.collect.ImmutableSetMultimap;
225 ImmutableSetMultimap<String, String> variableToPartitionIds = in build()
240 ImmutableSetMultimap<String, String> macroRegionToPartitionIds = in build()
283 private static ImmutableSetMultimap<String, String> mapVariablesToPartitionIds( in mapVariablesToPartitionIds()
297 return ImmutableSetMultimap.copyOf(variableToPartitionIds); in mapVariablesToPartitionIds()
300 private static ImmutableSetMultimap<String, String> mapMacroRegionsToPartitionIds( in mapMacroRegionsToPartitionIds()
331 return ImmutableSetMultimap.copyOf(macroToPartitions); in mapMacroRegionsToPartitionIds()
337 ImmutableSetMultimap<String, String> macroRegionToPartitionIds) { in writePartitionLookupTable()
393 private final ImmutableSetMultimap<String, String> variableToPartitionIds;
398 ImmutableSetMultimap<String, String> variableToPartitionIds, in PartitionInfo()
[all …]
DTerritoryContainment.java6 import static com.google.common.collect.ImmutableSetMultimap.toImmutableSetMultimap;
19 import com.google.common.collect.ImmutableSetMultimap;
60 return new TerritoryContainment(ImmutableSetMultimap.copyOf(graph)); in getContainment()
64 private final ImmutableSetMultimap<String, String> macroToLeafRegions;
66 private TerritoryContainment(ImmutableSetMultimap<String, String> graph) { in TerritoryContainment()
/external/dagger2/java/dagger/hilt/processor/internal/aliasof/
DAliasOfs.java22 import com.google.common.collect.ImmutableSetMultimap;
40 ImmutableSetMultimap.Builder<ClassName, ClassName> builder = ImmutableSetMultimap.builder(); in create()
62 private final ImmutableSetMultimap<ClassName, ClassName> defineComponentScopeToAliases;
64 private AliasOfs(ImmutableSetMultimap<ClassName, ClassName> defineComponentScopeToAliases) { in AliasOfs()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DMapMultibindingValidator.java29 import com.google.common.collect.ImmutableSetMultimap;
93 ImmutableSetMultimap<Key, Binding> mapMultibindings = in mapMultibindings()
143 ImmutableSetMultimap<?, ContributionBinding> contributionsByMapKey = in checkForDuplicateMapKeys()
144 ImmutableSetMultimap.copyOf( in checkForDuplicateMapKeys()
162 ImmutableSetMultimap<TypeName, ContributionBinding> contributionsByMapKeyAnnotationType = in checkForInconsistentMapKeyAnnotationTypes()
174 private static ImmutableSetMultimap<TypeName, ContributionBinding> indexByMapKeyAnnotationType( in indexByMapKeyAnnotationType()
176 return ImmutableSetMultimap.copyOf( in indexByMapKeyAnnotationType()
183 ImmutableSetMultimap<TypeName, ContributionBinding> contributionsByMapKeyAnnotationType, in inconsistentMapKeyAnnotationTypesErrorMessage()
/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()
/external/truth/core/src/test/java/com/google/common/truth/
DMultimapSubjectTest.java28 import com.google.common.collect.ImmutableSetMultimap;
86 ImmutableSetMultimap<String, String> multimapA = in setMultimapIsEqualTo_passes()
87 ImmutableSetMultimap.<String, String>builder() in setMultimapIsEqualTo_passes()
90 ImmutableSetMultimap<String, String> multimapB = in setMultimapIsEqualTo_passes()
91 ImmutableSetMultimap.<String, String>builder() in setMultimapIsEqualTo_passes()
102 ImmutableSetMultimap<String, String> multimapA = in setMultimapIsEqualTo_fails()
103 ImmutableSetMultimap.<String, String>builder() in setMultimapIsEqualTo_fails()
106 ImmutableSetMultimap<String, String> multimapB = in setMultimapIsEqualTo_fails()
107 ImmutableSetMultimap.<String, String>builder().putAll("kurt", "kluever", "russell").build(); in setMultimapIsEqualTo_fails()
118 ImmutableSetMultimap<String, String> multimapA = in setMultimapIsEqualToListMultimap_fails()
[all …]
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DAutoFactoryProcessor.java26 import com.google.common.collect.ImmutableSetMultimap;
101 ImmutableSetMultimap.Builder<PackageAndClass, ImplementationMethodDescriptor> in doProcess()
102 implementationMethodDescriptorsBuilder = ImmutableSetMultimap.builder(); in doProcess()
124 ImmutableSetMultimap<PackageAndClass, ImplementationMethodDescriptor> in doProcess()
128 ImmutableSetMultimap<String, PackageAndClass> factoriesBeingCreated = in doProcess()
221 private static ImmutableSetMultimap<String, PackageAndClass> simpleNamesToNames( in simpleNamesToNames()
225 ImmutableSetMultimap.Builder<String, PackageAndClass> builder = ImmutableSetMultimap.builder(); in simpleNamesToNames()
/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/dagger2/java/dagger/internal/codegen/extension/
DDaggerStreams.java25 import com.google.common.collect.ImmutableSetMultimap;
81 public static <T, K, V> Collector<T, ?, ImmutableSetMultimap<K, V>> toImmutableSetMultimap( in toImmutableSetMultimap()
86 ImmutableSetMultimap::builder, in toImmutableSetMultimap()
87 (ImmutableSetMultimap.Builder<K, V> builder, Map.Entry<K, V> entry) -> in toImmutableSetMultimap()
90 ImmutableSetMultimap.Builder::build)); in toImmutableSetMultimap()
/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()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/api/
DCldrPaths.java22 import com.google.common.collect.ImmutableSetMultimap;
44 private static final ImmutableSetMultimap<CldrDataType, String> LEAF_ELEMENTS_MAP;
46 private static final ImmutableSetMultimap<CldrDataType, String> ORDERED_ELEMENTS_MAP;
48 ImmutableSetMultimap.Builder<CldrDataType, String> leafElementsMap =
49 ImmutableSetMultimap.builder();
50 ImmutableSetMultimap.Builder<CldrDataType, String> orderedElementsMap =
51 ImmutableSetMultimap.builder();

1234