Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ImmutableMultimap (0.08 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableMultimap.of(), ImmutableMultimap.of())
            .addEqualityGroup(ImmutableMultimap.of(1, "a"), ImmutableMultimap.of(1, "a"))
            .addEqualityGroup(
                ImmutableMultimap.of(1, "a", 2, "b"), ImmutableMultimap.of(2, "b", 1, "a"))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        return ImmutableMultimap.<String, Integer>of().asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Multimap<String, Integer> delegate = HashMultimap.create();
        populate(delegate);
        return ImmutableMultimap.copyOf(delegate).asMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(ImmutableMultimap.of(), ImmutableMultimap.of())
            .addEqualityGroup(ImmutableMultimap.of(1, "a"), ImmutableMultimap.of(1, "a"))
            .addEqualityGroup(
                ImmutableMultimap.of(1, "a", 2, "b"), ImmutableMultimap.of(2, "b", 1, "a"))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/BaseImmutableMultimap.java

     */
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A dummy superclass of {@link ImmutableMultimap} that can be instanceof'd without ProGuard
     * retaining additional implementation details of {@link ImmutableMultimap}.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 993 bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ForwardingSortedSetMultimapTest.java

                  }
                });
      }
    
      public void testEquals() {
        SortedSetMultimap<Integer, String> map1 = TreeMultimap.create(ImmutableMultimap.of(1, "one"));
        SortedSetMultimap<Integer, String> map2 = TreeMultimap.create(ImmutableMultimap.of(2, "two"));
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManagerBridge.java

    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.util.concurrent.Service.State;
    
    /**
     * Superinterface of {@link ServiceManager} to introduce a bridge method for {@code
     * servicesByState()}, to ensure binary compatibility with older Guava versions that specified
     * {@code servicesByState()} to return {@code ImmutableMultimap}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/BaseImmutableMultimap.java

     */
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A dummy superclass of {@link ImmutableMultimap} that can be instanceof'd without ProGuard
     * retaining additional implementation details of {@link ImmutableMultimap}.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 993 bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

                    return wrap((Multimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
        Multimap<Integer, String> map1 = ImmutableMultimap.of(1, "one");
        Multimap<Integer, String> map2 = ImmutableMultimap.of(2, "two");
        new EqualsTester()
            .addEqualityGroup(map1, wrap(map1), wrap(map1))
            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

      }
    
      public void testImmutableListMultimap() {
        doHasAllFauxveridesTest(ImmutableListMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSetMultimap() {
        doHasAllFauxveridesTest(ImmutableSetMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSortedMap() {
        doHasAllFauxveridesTest(ImmutableSortedMap.class, ImmutableMap.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top