Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for ImmutableSetMultimap (0.1 sec)

  1. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        LinkedHashMultimap<K, V> multimap = LinkedHashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
      static <K, V> ImmutableSetMultimap<K, V> generateImmutableSetMultimap(K key, V value) {
        return ImmutableSetMultimap.of(key, value);
      }
    
      @Generates
      static <K, V> BiMap<K, V> generateBimap(@Nullable K key, @Nullable V value) {
        return generateHashBiMap(key, value);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        LinkedHashMultimap<K, V> multimap = LinkedHashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
      static <K, V> ImmutableSetMultimap<K, V> generateImmutableSetMultimap(K key, V value) {
        return ImmutableSetMultimap.of(key, value);
      }
    
      @Generates
      static <K, V> BiMap<K, V> generateBimap(@Nullable K key, @Nullable V value) {
        return generateHashBiMap(key, value);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

      @LazyInit @CheckForNull private transient ImmutableSetMultimap<K, V> multimapView;
    
      /**
       * Returns a multimap view of the map.
       *
       * @since 14.0
       */
      public ImmutableSetMultimap<K, V> asMultimap() {
        if (isEmpty()) {
          return ImmutableSetMultimap.of();
        }
        ImmutableSetMultimap<K, V> result = multimapView;
        return (result == null)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        ImmutableSetMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return ImmutableSetMultimap.copyOf(contents);
          }
        };
    
        abstract <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
            Multimap<K, V> contents);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. 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);
      }
    
      public void testImmutableSortedSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. 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);
      }
    
      public void testImmutableSortedSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.ImmutableMultiset;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSetMultimap;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.ListMultimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        ImmutableSetMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return ImmutableSetMultimap.copyOf(contents);
          }
        };
    
        abstract <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
            Multimap<K, V> contents);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableMultimap.java

     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableMultimap} as a type (as with
     * {@link Multimap} itself). Prefer subtypes such as {@link ImmutableSetMultimap} or {@link
     * ImmutableListMultimap}, which have well-defined {@link #equals} semantics, thus avoiding a common
     * source of bugs and confusion.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

          return delegate;
        }
        return new UnmodifiableSetMultimap<>(delegate);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <K, V> SetMultimap<K, V> unmodifiableSetMultimap(
          ImmutableSetMultimap<K, V> delegate) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top