- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 40 for ImmutableListMultimap (0.11 seconds)
-
guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
return wrap((ListMultimap<?, ?>) delegate); } }); } public void testEquals() { ListMultimap<Integer, String> map1 = ImmutableListMultimap.of(1, "one"); ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
* @author Gregory Kick */ @GwtCompatible @Immutable public final class MediaType { private static final String CHARSET_ATTRIBUTE = "charset"; private static final ImmutableListMultimap<String, String> UTF_8_CONSTANT_PARAMETERS = ImmutableListMultimap.of(CHARSET_ATTRIBUTE, Ascii.toLowerCase(UTF_8.name())); /** Matcher for type, subtype and attributes. */ private static final CharMatcher TOKEN_MATCHER = ascii()Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
.that(setMultimapCopy) .isSameInstanceAs(setMultimap); ImmutableListMultimap<String, String> listMultimap = ImmutableListMultimap.of("k1", "v1"); ImmutableMultimap<String, String> listMultimapCopy = ImmutableMultimap.copyOf(listMultimap); assertWithMessage("copyOf(ImmutableListMultimap) should not create a new instance") .that(listMultimapCopy) .isSameInstanceAs(listMultimap);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java
import com.google.common.annotations.J2ktIncompatible; import java.util.Collection; /** * Implementation of {@link ImmutableListMultimap} with no entries. * * @author Jared Levy */ @GwtCompatible final class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> { static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap(); private EmptyImmutableListMultimap() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/EmptyImmutableListMultimap.java
import com.google.common.annotations.J2ktIncompatible; import java.util.Collection; /** * Implementation of {@link ImmutableListMultimap} with no entries. * * @author Jared Levy */ @GwtCompatible final class EmptyImmutableListMultimap extends ImmutableListMultimap<Object, Object> { static final EmptyImmutableListMultimap INSTANCE = new EmptyImmutableListMultimap(); private EmptyImmutableListMultimap() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Collection; /** * Implementation of {@link ImmutableListMultimap} with no entries. * * @author Mike Ward */ @GwtCompatible final class EmptyImmutableSetMultimap extends ImmutableSetMultimap<Object, Object> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FluentIterableTest.java
} public void testIndex() { ImmutableListMultimap<Integer, String> expected = ImmutableListMultimap.<Integer, String>builder() .putAll(3, "one", "two") .put(5, "three") .put(4, "four") .build(); ImmutableListMultimap<Integer, String> index = FluentIterable.from(asList("one", "two", "three", "four"))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 31.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(Multimap.class, ImmutableMultimap.of()) .put(ImmutableMultimap.class, ImmutableMultimap.of()) .put(ListMultimap.class, ImmutableListMultimap.of()) .put(ImmutableListMultimap.class, ImmutableListMultimap.of()) .put(SetMultimap.class, ImmutableSetMultimap.of()) .put(ImmutableSetMultimap.class, ImmutableSetMultimap.of()) .put(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertThat(unmod).isNotSameInstanceAs(mod); assertThat(Multimaps.unmodifiableListMultimap(unmod)).isSameInstanceAs(unmod); ImmutableListMultimap<String, Integer> immutable = ImmutableListMultimap.of("a", 1, "b", 2, "a", 3); assertThat(Multimaps.unmodifiableListMultimap(immutable)).isSameInstanceAs(immutable);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(Multimap.class, ImmutableMultimap.of()) .put(ImmutableMultimap.class, ImmutableMultimap.of()) .put(ListMultimap.class, ImmutableListMultimap.of()) .put(ImmutableListMultimap.class, ImmutableListMultimap.of()) .put(SetMultimap.class, ImmutableSetMultimap.of()) .put(ImmutableSetMultimap.class, ImmutableSetMultimap.of()) .put(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0)