- Sort Score
- Result 10 results
- Languages All
Results 21 - 29 of 29 for ImmutableMultimap (0.05 sec)
-
guava-tests/test/com/google/common/graph/TraverserTest.java
* <p>The {@code successors} are always returned in alphabetical order. */ private static SuccessorsFunction<Character> createGraph(boolean directed, String... edges) { ImmutableMultimap.Builder<Character, Character> graphMapBuilder = ImmutableMultimap.builder(); for (String edge : edges) { checkArgument( edge.length() == 2, "Expecting each edge to consist of 2 characters but got %s", edge);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (2) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
static <K, V> Multimap<K, V> generateMultimap(@Nullable K key, @Nullable V value) { return generateListMultimap(key, value); } @Generates static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) { return ImmutableMultimap.of(key, value); } @Generates static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
static <K, V> Multimap<K, V> generateMultimap(@Nullable K key, @Nullable V value) { return generateListMultimap(key, value); } @Generates static <K, V> ImmutableMultimap<K, V> generateImmutableMultimap(K key, V value) { return ImmutableMultimap.of(key, value); } @Generates static <K, V> ListMultimap<K, V> generateListMultimap(@Nullable K key, @Nullable V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
@J2ktIncompatible @GwtIncompatible // SerializableTester public void testTreeMultimapDerived() { TreeMultimap<DerivedComparable, DerivedComparable> multimap = TreeMultimap.create(); assertEquals(ImmutableMultimap.of(), multimap); multimap.put(new DerivedComparable("foo"), new DerivedComparable("f")); multimap.put(new DerivedComparable("foo"), new DerivedComparable("o"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.collect.FluentIterable; import com.google.common.collect.ImmutableListMultimap; import com.google.common.collect.ImmutableMultimap; import com.google.common.collect.ImmutableSet; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.lang.reflect.Field; import java.nio.charset.Charset;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
} /** * Copies each key-value mapping in {@code source} into {@code dest}, with its key and value * reversed. * * <p>If {@code source} is an {@link ImmutableMultimap}, consider using {@link * ImmutableMultimap#inverse} instead. * * @param source any multimap * @param dest the multimap to copy into; usually empty * @return {@code dest} */ @CanIgnoreReturnValueRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
} /** * Copies each key-value mapping in {@code source} into {@code dest}, with its key and value * reversed. * * <p>If {@code source} is an {@link ImmutableMultimap}, consider using {@link * ImmutableMultimap#inverse} instead. * * @param source any multimap * @param dest the multimap to copy into; usually empty * @return {@code dest} */ @CanIgnoreReturnValueRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* * <p>N.B. This snapshot is guaranteed to be consistent, i.e. the set of states returned will * correspond to a point in time view of the services. * * @since 29.0 (present with return type {@code ImmutableMultimap} since 14.0) */ @Override public ImmutableSetMultimap<State, Service> servicesByState() { return state.servicesByState(); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (1) -
guava/src/com/google/common/collect/Multimap.java
* <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>. * * @author Jared Levy * @since 2.0 */ @DoNotMock("Use ImmutableMultimap, HashMultimap, or another implementation") @GwtCompatible public interface Multimap<K extends @Nullable Object, V extends @Nullable Object> { // Query Operations /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 15.7K bytes - Viewed (0)