Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for ImmutableSetMultimap (0.17 sec)

  1. guava/src/com/google/common/collect/CollectCollectors.java

            ImmutableSetMultimap.Builder::combine,
            ImmutableSetMultimap.Builder::build);
      }
    
      static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableSetMultimap<K, V>> flatteningToImmutableSetMultimap(
              Function<? super T, ? extends K> keyFunction,
              Function<? super T, ? extends Stream<? extends V>> valuesFunction) {
        checkNotNull(keyFunction);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(ImmutableSetMultimap.of(1, "one"), ImmutableSetMultimap.of("one", 1).inverse());
        assertEquals(
            ImmutableSetMultimap.of(1, "one", 2, "two"),
            ImmutableSetMultimap.of("one", 1, "two", 2).inverse());
        assertEquals(
            ImmutableSetMultimap.of('o', "of", 'f', "of", 't', "to", 'o', "to"),
            ImmutableSetMultimap.of("of", 'o', "of", 'f', "to", 't', "to", 'o').inverse());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      @Override
                      SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap) {
                        ImmutableSetMultimap<String, Integer> badEntries =
                            ImmutableSetMultimap.of("foo", 314, "one", 159, "two", 265, "bar", 358);
                        multimap.putAll(badEntries);
                        return Multimaps.filterEntries(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ServiceManager.java

            }
          } finally {
            monitor.leave();
          }
        }
    
        ImmutableSetMultimap<State, Service> servicesByState() {
          ImmutableSetMultimap.Builder<State, Service> builder = ImmutableSetMultimap.builder();
          monitor.enter();
          try {
            for (Entry<State, Service> entry : servicesByState.entries()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            }
          } finally {
            monitor.leave();
          }
        }
    
        ImmutableSetMultimap<State, Service> servicesByState() {
          ImmutableSetMultimap.Builder<State, Service> builder = ImmutableSetMultimap.builder();
          monitor.enter();
          try {
            for (Entry<State, Service> entry : servicesByState.entries()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ListMultimap.class, ImmutableListMultimap.of())
              .put(ImmutableListMultimap.class, ImmutableListMultimap.of())
              .put(SetMultimap.class, ImmutableSetMultimap.of())
              .put(ImmutableSetMultimap.class, ImmutableSetMultimap.of())
              .put(
                  SortedSetMultimap.class,
                  Multimaps.unmodifiableSortedSetMultimap(TreeMultimap.create()))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                      @Override
                      SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap) {
                        ImmutableSetMultimap<String, Integer> badEntries =
                            ImmutableSetMultimap.of("foo", 314, "one", 159, "two", 265, "bar", 358);
                        multimap.putAll(badEntries);
                        return Multimaps.filterEntries(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Sep 24 22:52:18 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              .put(ListMultimap.class, ImmutableListMultimap.of())
              .put(ImmutableListMultimap.class, ImmutableListMultimap.of())
              .put(SetMultimap.class, ImmutableSetMultimap.of())
              .put(ImmutableSetMultimap.class, ImmutableSetMultimap.of())
              .put(
                  SortedSetMultimap.class,
                  Multimaps.unmodifiableSortedSetMultimap(TreeMultimap.create()))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

    import java.util.Collection;
    
    /**
     * Implementation of {@link ImmutableListMultimap} with no entries.
     *
     * @author Mike Ward
     */
    @GwtCompatible
    final class EmptyImmutableSetMultimap extends ImmutableSetMultimap<Object, Object> {
      static final EmptyImmutableSetMultimap INSTANCE = new EmptyImmutableSetMultimap();
    
      private EmptyImmutableSetMultimap() {
        super(ImmutableMap.of(), 0, null);
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        ImmutableSetMultimap<String, Integer> expected =
            ImmutableSetMultimap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3);
        assertEquals(expected, map.asMultimap());
      }
    
      public void testAsMultimapWhenEmpty() {
        ImmutableMap<String, Integer> map = ImmutableMap.of();
        ImmutableSetMultimap<String, Integer> expected = ImmutableSetMultimap.of();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top