Home
last modified time | relevance | path

Searched refs:ImmutableListMultimap (Results 1 – 25 of 74) sorted by relevance

123

/external/truth/core/src/test/java/com/google/common/truth/
DMultimapSubjectTest.java26 import com.google.common.collect.ImmutableListMultimap;
47 ImmutableListMultimap<String, String> multimapA = in listMultimapIsEqualTo_passes()
48 ImmutableListMultimap.<String, String>builder() in listMultimapIsEqualTo_passes()
51 ImmutableListMultimap<String, String> multimapB = in listMultimapIsEqualTo_passes()
52 ImmutableListMultimap.<String, String>builder() in listMultimapIsEqualTo_passes()
63 ImmutableListMultimap<String, String> multimapA = in listMultimapIsEqualTo_fails()
64 ImmutableListMultimap.<String, String>builder() in listMultimapIsEqualTo_fails()
67 ImmutableListMultimap<String, String> multimapB = in listMultimapIsEqualTo_fails()
68 ImmutableListMultimap.<String, String>builder() in listMultimapIsEqualTo_fails()
122 ImmutableListMultimap<String, String> multimapB = in setMultimapIsEqualToListMultimap_fails()
[all …]
DGraphMatchingTest.java28 import com.google.common.collect.ImmutableListMultimap;
161 return new TestInstance(ImmutableListMultimap.<String, String>of()); in empty()
170 ImmutableListMultimap.Builder<String, String> edges = ImmutableListMultimap.builder(); in fullyConnected()
187 ImmutableListMultimap.Builder<String, String> edges = ImmutableListMultimap.builder(); in fromBits()
198 private final ImmutableListMultimap<String, String> edges;
201 private TestInstance(ImmutableListMultimap<String, String> edges) { in TestInstance()
/external/guava/guava-tests/test/com/google/common/collect/
DImmutableListMultimapTest.java28 import com.google.common.collect.ImmutableListMultimap.Builder;
57 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in create()
69 return ImmutableListMultimap.copyOf(Arrays.asList(entries)); in create()
91 ImmutableListMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry()
115 ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>(); in testBuilder_withMutableEntry()
137 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllIterable()
148 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllVarargs()
168 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllMultimap()
178 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllWithDuplicates()
182 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates()
[all …]
DForwardingListMultimapTest.java45 ListMultimap<Integer, String> map1 = ImmutableListMultimap.of(1, "one"); in testEquals()
46 ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); in testEquals()
/external/guava/android/guava-tests/test/com/google/common/collect/
DImmutableListMultimapTest.java26 import com.google.common.collect.ImmutableListMultimap.Builder;
52 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in create()
64 return ImmutableListMultimap.copyOf(Arrays.asList(entries)); in create()
86 ImmutableListMultimap<String, Integer> multimap = in testBuilder_withImmutableEntry()
110 ImmutableListMultimap.Builder<String, Integer> builder = new Builder<>(); in testBuilder_withMutableEntry()
132 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllIterable()
143 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllVarargs()
163 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllMultimap()
173 ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder(); in testBuilderPutAllWithDuplicates()
177 ImmutableListMultimap<String, Integer> multimap = builder.build(); in testBuilderPutAllWithDuplicates()
[all …]
DForwardingListMultimapTest.java45 ListMultimap<Integer, String> map1 = ImmutableListMultimap.of(1, "one"); in testEquals()
46 ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); in testEquals()
/external/guava/android/guava/src/com/google/common/collect/
DImmutableListMultimap.java49 public class ImmutableListMultimap<K, V> extends ImmutableMultimap<K, V> class
59 public static <K, V> ImmutableListMultimap<K, V> of() { in of()
60 return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE; in of()
64 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) { in of()
65 ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder(); in of()
71 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) { in of()
72 ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder(); in of()
79 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { in of()
80 ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder(); in of()
88 public static <K, V> ImmutableListMultimap<K, V> of( in of()
[all …]
DImmutableMultimap.java81 return ImmutableListMultimap.of(); in of()
86 return ImmutableListMultimap.of(k1, v1); in of()
91 return ImmutableListMultimap.of(k1, v1, k2, v2); in of()
99 return ImmutableListMultimap.of(k1, v1, k2, v2, k3, v3); in of()
107 return ImmutableListMultimap.of(k1, v1, k2, v2, k3, v3, k4, v4); in of()
116 return ImmutableListMultimap.of(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5); in of()
299 return ImmutableListMultimap.fromMapEntries(mapEntries, valueComparator); in build()
321 return ImmutableListMultimap.copyOf(multimap); in copyOf()
335 return ImmutableListMultimap.copyOf(entries); in copyOf()
/external/guava/guava/src/com/google/common/collect/
DImmutableListMultimap.java53 public class ImmutableListMultimap<K, V> extends ImmutableMultimap<K, V> class
84 Collector<T, ?, ImmutableListMultimap<K, V>> toImmutableListMultimap( in toImmutableListMultimap()
122 Collector<T, ?, ImmutableListMultimap<K, V>> flatteningToImmutableListMultimap( in flatteningToImmutableListMultimap()
135 public static <K, V> ImmutableListMultimap<K, V> of() { in of()
136 return (ImmutableListMultimap<K, V>) EmptyImmutableListMultimap.INSTANCE; in of()
140 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1) { in of()
141 ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder(); in of()
147 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2) { in of()
148 ImmutableListMultimap.Builder<K, V> builder = ImmutableListMultimap.builder(); in of()
155 public static <K, V> ImmutableListMultimap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { in of()
[all …]
DImmutableMultimap.java83 return ImmutableListMultimap.of(); in of()
88 return ImmutableListMultimap.of(k1, v1); in of()
93 return ImmutableListMultimap.of(k1, v1, k2, v2); in of()
101 return ImmutableListMultimap.of(k1, v1, k2, v2, k3, v3); in of()
109 return ImmutableListMultimap.of(k1, v1, k2, v2, k3, v3, k4, v4); in of()
118 return ImmutableListMultimap.of(k1, v1, k2, v2, k3, v3, k4, v4, k5, v5); in of()
301 return ImmutableListMultimap.fromMapEntries(mapEntries, valueComparator); in build()
323 return ImmutableListMultimap.copyOf(multimap); in copyOf()
337 return ImmutableListMultimap.copyOf(entries); in copyOf()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerStreamTest.java35 import com.google.common.collect.ImmutableListMultimap;
103 ImmutableListMultimap.copyOf(new DefaultHttp2Headers() in writeMessageShouldSendResponse()
114 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers())) in writeMessageShouldSendResponse()
131 ImmutableListMultimap.copyOf(Utils.convertServerHeaders(headers)); in writeHeadersShouldSendHeaders()
140 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers())) in writeHeadersShouldSendHeaders()
148 ImmutableListMultimap.copyOf(new DefaultHttp2Headers() in closeBeforeClientHalfCloseShouldSucceed()
160 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers())) in closeBeforeClientHalfCloseShouldSucceed()
175 ImmutableListMultimap.copyOf(new DefaultHttp2Headers() in closeWithErrorBeforeClientHalfCloseShouldSucceed()
188 assertThat(ImmutableListMultimap.copyOf(sendHeaders.headers())) in closeWithErrorBeforeClientHalfCloseShouldSucceed()
202 ImmutableListMultimap.copyOf(new DefaultHttp2Headers() in closeAfterClientHalfCloseShouldSucceed()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/
DRtspHeaders.java23 import com.google.common.collect.ImmutableListMultimap;
75 private final ImmutableListMultimap.Builder<String, String> namesAndValuesBuilder;
79 namesAndValuesBuilder = new ImmutableListMultimap.Builder<>(); in Builder()
105 private Builder(ImmutableListMultimap.Builder<String, String> namesAndValuesBuilder) { in Builder()
162 private final ImmutableListMultimap<String, String> namesAndValues;
183 ImmutableListMultimap.Builder<String, String> namesAndValuesBuilder = in buildUpon()
184 new ImmutableListMultimap.Builder<>(); in buildUpon()
193 public ImmutableListMultimap<String, String> asMultiMap() { in asMultiMap()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/
DRtspHeaders.java23 import com.google.common.collect.ImmutableListMultimap;
75 private final ImmutableListMultimap.Builder<String, String> namesAndValuesBuilder;
79 namesAndValuesBuilder = new ImmutableListMultimap.Builder<>(); in Builder()
105 private Builder(ImmutableListMultimap.Builder<String, String> namesAndValuesBuilder) { in Builder()
162 private final ImmutableListMultimap<String, String> namesAndValues;
183 ImmutableListMultimap.Builder<String, String> namesAndValuesBuilder = in buildUpon()
184 new ImmutableListMultimap.Builder<>(); in buildUpon()
193 public ImmutableListMultimap<String, String> asMultiMap() { in asMultiMap()
/external/robolectric/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowMap.java5 import com.google.common.collect.ImmutableListMultimap;
31 static final ShadowMap EMPTY = new ShadowMap(ImmutableListMultimap.of(), ImmutableMap.of());
33 private final ImmutableListMultimap<String, String> defaultShadows;
52 ImmutableListMultimap.copyOf(shadowMap), in createFromShadowProviders()
58 ImmutableListMultimap<String, String> defaultShadows, in ShadowMap()
64 ImmutableListMultimap<String, String> defaultShadows, in ShadowMap()
67 this.defaultShadows = ImmutableListMultimap.copyOf(defaultShadows); in ShadowMap()
236 private final ImmutableListMultimap<String, String> defaultShadows;
241 defaultShadows = ImmutableListMultimap.of(); in Builder()
/external/guava/guava-tests/test/com/google/common/net/
DMediaTypeTest.java42 import com.google.common.collect.ImmutableListMultimap;
228 private static final ImmutableListMultimap<String, String> PARAMETERS =
229 ImmutableListMultimap.of("a", "1", "a", "2", "b", "3");
232 assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
234 ImmutableListMultimap.of("charset", "utf-8"),
256 ImmutableListMultimap<String, String> parameters =
257 ImmutableListMultimap.of("a", "1", "@", "2", "b", "3");
267 ImmutableListMultimap<String, String> parameters = ImmutableListMultimap.of("…", "a");
277 ImmutableListMultimap<String, String> parameters = ImmutableListMultimap.of("a", "…");
584 .withParameters(ImmutableListMultimap.of("a", "1", "a", "2")),
[all …]
/external/guava/android/guava-tests/test/com/google/common/net/
DMediaTypeTest.java42 import com.google.common.collect.ImmutableListMultimap;
228 private static final ImmutableListMultimap<String, String> PARAMETERS =
229 ImmutableListMultimap.of("a", "1", "a", "2", "b", "3");
232 assertEquals(ImmutableListMultimap.of(), MediaType.parse("text/plain").parameters());
234 ImmutableListMultimap.of("charset", "utf-8"),
256 ImmutableListMultimap<String, String> parameters =
257 ImmutableListMultimap.of("a", "1", "@", "2", "b", "3");
267 ImmutableListMultimap<String, String> parameters = ImmutableListMultimap.of("…", "a");
277 ImmutableListMultimap<String, String> parameters = ImmutableListMultimap.of("a", "…");
584 .withParameters(ImmutableListMultimap.of("a", "1", "a", "2")),
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/json/
DImmutableMultimapTypeAdapterFactory.java19 import com.google.common.collect.ImmutableListMultimap;
71 if (ImmutableListMultimap.class.isAssignableFrom(typeToken.getRawType())) { in create()
79 ImmutableListMultimap<?, ?> multimap = (ImmutableListMultimap<?, ?>) value; in create()
85 ImmutableListMultimap.Builder builder = ImmutableListMultimap.builder(); in create()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DPathURLConnection.java24 import com.google.common.collect.ImmutableListMultimap;
63 private ImmutableListMultimap<String, String> headers = ImmutableListMultimap.of();
99 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in connect()
/external/desugar/java/com/google/devtools/common/options/testing/
DOptionsTester.java20 import com.google.common.collect.ImmutableListMultimap;
82 ImmutableListMultimap.Builder<Class<? extends Converter<?>>, Field> converterClassesBuilder = in testAllDefaultValuesTestedBy()
83 ImmutableListMultimap.builder(); in testAllDefaultValuesTestedBy()
93 ImmutableListMultimap<Class<? extends Converter<?>>, Field> converterClasses = in testAllDefaultValuesTestedBy()
/external/guava/guava/src/com/google/common/net/
DMediaType.java32 import com.google.common.collect.ImmutableListMultimap;
78 private static final ImmutableListMultimap<String, String> UTF_8_CONSTANT_PARAMETERS =
79 ImmutableListMultimap.of(CHARSET_ATTRIBUTE, Ascii.toLowerCase(UTF_8.name()));
110 addKnownType(new MediaType(type, subtype, ImmutableListMultimap.<String, String>of())); in createConstant()
762 private final ImmutableListMultimap<String, String> parameters;
770 private MediaType(String type, String subtype, ImmutableListMultimap<String, String> parameters) { in MediaType()
787 public ImmutableListMultimap<String, String> parameters() { in parameters()
851 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in withParameters()
946 MediaType mediaType = create(type, subtype, ImmutableListMultimap.<String, String>of()); in create()
961 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in create()
[all …]
/external/guava/android/guava/src/com/google/common/net/
DMediaType.java32 import com.google.common.collect.ImmutableListMultimap;
78 private static final ImmutableListMultimap<String, String> UTF_8_CONSTANT_PARAMETERS =
79 ImmutableListMultimap.of(CHARSET_ATTRIBUTE, Ascii.toLowerCase(UTF_8.name()));
110 addKnownType(new MediaType(type, subtype, ImmutableListMultimap.<String, String>of())); in createConstant()
762 private final ImmutableListMultimap<String, String> parameters;
770 private MediaType(String type, String subtype, ImmutableListMultimap<String, String> parameters) { in MediaType()
787 public ImmutableListMultimap<String, String> parameters() { in parameters()
851 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in withParameters()
946 MediaType mediaType = create(type, subtype, ImmutableListMultimap.<String, String>of()); in create()
961 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in create()
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DAbstractPathValueMapper.java26 import com.google.common.collect.ImmutableListMultimap;
122 private ImmutableListMultimap<RbPath, Result> finalizeResults() { in finalizeResults()
123 ImmutableListMultimap.Builder<RbPath, Result> out = ImmutableListMultimap.builder(); in finalizeResults()
147 ImmutableListMultimap<RbPath, Result> results, IcuData icuData) { in addResultsToIcuData()
/external/guice/core/src/com/google/inject/internal/
DCycleDetectingLock.java5 import com.google.common.collect.ImmutableListMultimap;
178 return ImmutableListMultimap.of(); in lockOrDetectPotentialLocksCycle()
250 return ImmutableListMultimap.of(); in detectPotentialLocksCycle()
276 return ImmutableListMultimap.of(); in detectPotentialLocksCycle()
/external/caliper/caliper/src/main/java/com/google/caliper/util/
DShortDuration.java23 import com.google.common.collect.ImmutableListMultimap;
289 private static final ImmutableListMultimap<TimeUnit, String> ABBREVIATIONS =
292 private static ImmutableListMultimap<TimeUnit, String> createAbbreviations() { in createAbbreviations()
293 ImmutableListMultimap.Builder<TimeUnit, String> builder = ImmutableListMultimap.builder(); in createAbbreviations()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/main/java/com/google/android/exoplayer2/transformer/
DEncoderUtil.java41 import com.google.common.collect.ImmutableListMultimap;
51 private static final Supplier<ImmutableListMultimap<String, MediaCodecInfo>>
325 private static ImmutableListMultimap<String, MediaCodecInfo> populateEncoderInfos() { in populateEncoderInfos()
326 ImmutableListMultimap.Builder<String, MediaCodecInfo> encoderInfosBuilder = in populateEncoderInfos()
327 new ImmutableListMultimap.Builder<>(); in populateEncoderInfos()

123