Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for SetMultimap (0.1 sec)

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

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests for {@link SetMultimap#replaceValues}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        HashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return HashMultimap.create(contents);
          }
        },
        LinkedHashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return LinkedHashMultimap.create(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)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonMap;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Maps;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.testing.EqualsTester;
    import java.util.ArrayList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      public void testCopyOf() {
        ImmutableSetMultimap<String, String> setMultimap = ImmutableSetMultimap.of("k1", "v1");
        ImmutableMultimap<String, String> setMultimapCopy = ImmutableMultimap.copyOf(setMultimap);
        assertSame(
            "copyOf(ImmutableSetMultimap) should not create a new instance",
            setMultimap,
            setMultimapCopy);
    
    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-tests/test/com/google/common/collect/BenchmarkHelpers.java

        HashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return HashMultimap.create(contents);
          }
        },
        LinkedHashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return LinkedHashMultimap.create(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)
  6. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        suite.addTest(
            SortedSetMultimapTestSuiteBuilder.using(
                    new TestStringSetMultimapGenerator() {
                      @Override
                      protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
                        SetMultimap<String, String> multimap =
                            TreeMultimap.create(
                                Ordering.natural().nullsFirst(), Ordering.natural().nullsFirst());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multimaps.java

              K extends @Nullable Object, V extends @Nullable Object>
          extends UnmodifiableMultimap<K, V> implements SetMultimap<K, V> {
        UnmodifiableSetMultimap(SetMultimap<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public SetMultimap<K, V> delegate() {
          return (SetMultimap<K, V>) super.delegate();
        }
    
        @Override
        public Set<V> get(@ParametricNullness K key) {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      public void testCopyOf() {
        ImmutableSetMultimap<String, String> setMultimap = ImmutableSetMultimap.of("k1", "v1");
        ImmutableMultimap<String, String> setMultimapCopy = ImmutableMultimap.copyOf(setMultimap);
        assertSame(
            "copyOf(ImmutableSetMultimap) should not create a new instance",
            setMultimap,
            setMultimapCopy);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SortedSetMultimap.java

    import java.util.Map;
    import java.util.Set;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@code SetMultimap} whose set of values for a given key are kept sorted; that is, they comprise
     * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

       *
       * @since 16.0
       */
      public abstract static class SetMultimapBuilder<
              K0 extends @Nullable Object, V0 extends @Nullable Object>
          extends MultimapBuilder<K0, V0> {
        SetMultimapBuilder() {}
    
        @Override
        public abstract <K extends K0, V extends V0> SetMultimap<K, V> build();
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top