Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 35 for ImmutableMultimap (0.13 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        }
        return derivedFeatures;
      }
    
      private static final ImmutableMultimap<Feature<?>, Feature<?>> GET_FEATURE_MAP =
          ImmutableMultimap.<Feature<?>, Feature<?>>builder()
              .put(
                  MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                  CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        }
        return derivedFeatures;
      }
    
      private static final ImmutableMultimap<Feature<?>, Feature<?>> GET_FEATURE_MAP =
          ImmutableMultimap.<Feature<?>, Feature<?>>builder()
              .put(
                  MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
                  CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * <p>Because an inverse of a list multimap can contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableListMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       *
       * @since 11.0
       */
      @Override
      public ImmutableListMultimap<V, K> inverse() {
        ImmutableListMultimap<V, K> result = inverse;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * <p>Because an inverse of a set multimap cannot contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableSetMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<ImmutableSortedMap<String, Integer>>() {});
      }
    
      public void testImmutableMultimap() {
        assertFreshInstance(new TypeToken<ImmutableMultimap<String, Integer>>() {});
        assertNotInstantiable(new TypeToken<ImmutableMultimap<EmptyEnum, String>>() {});
      }
    
      public void testImmutableListMultimap() {
        assertFreshInstance(new TypeToken<ImmutableListMultimap<String, Integer>>() {});
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

            ImmutableSortedSet<Number> immutableSortedSet,
            Multiset<String> multiset,
            ImmutableMultiset<Integer> immutableMultiset,
            Multimap<String, Integer> multimap,
            ImmutableMultimap<String, Integer> immutableMultimap,
            Table<String, Integer, Exception> table,
            ImmutableTable<Integer, String, Exception> immutableTable) {
          calledWith(
              gender,
              integer,
              i,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 47.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *
       * <p>Because an inverse of a set multimap cannot contain multiple pairs with the same key and
       * value, this method returns an {@code ImmutableSetMultimap} rather than the {@code
       * ImmutableMultimap} specified in the {@code ImmutableMultimap} class.
       */
      @Override
      public ImmutableSetMultimap<V, K> inverse() {
        ImmutableSetMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  8. android/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
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15K bytes
    - Click Count (0)
  9. 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  10. 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}
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
Back to Top