Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for ListMultimap (0.06 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

              K extends @Nullable Object, V extends @Nullable Object>
          extends UnmodifiableMultimap<K, V> implements ListMultimap<K, V> {
        UnmodifiableListMultimap(ListMultimap<K, V> delegate) {
          super(delegate);
        }
    
        @Override
        public ListMultimap<K, V> delegate() {
          return (ListMultimap<K, V>) super.delegate();
        }
    
        @Override
        public List<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)
  2. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        ;
      }
    
      public enum ListMultimapImpl {
        ArrayListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return ArrayListMultimap.create(contents);
          }
        },
        LinkedListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return LinkedListMultimap.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/src/com/google/common/collect/ForwardingListMultimap.java

    public abstract class ForwardingListMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingMultimap<K, V> implements ListMultimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingListMultimap() {}
    
      @Override
      protected abstract ListMultimap<K, V> delegate();
    
      @Override
      public List<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            setMultimap,
            setMultimapCopy);
    
        ImmutableListMultimap<String, String> listMultimap = ImmutableListMultimap.of("k1", "v1");
        ImmutableMultimap<String, String> listMultimapCopy = ImmutableMultimap.copyOf(listMultimap);
        assertSame(
            "copyOf(ImmutableListMultimap) should not create a new instance",
            listMultimap,
            listMultimapCopy);
      }
    
      public void testUnhashableSingletonValue() {
    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/MultimapBuilder.java

       *
       * @since 16.0
       */
      public abstract static class ListMultimapBuilder<
              K0 extends @Nullable Object, V0 extends @Nullable Object>
          extends MultimapBuilder<K0, V0> {
        ListMultimapBuilder() {}
    
        @Override
        public abstract <K extends K0, V extends V0> ListMultimap<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)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#remove(Object, Object)}.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java

                ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity())
            .asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
        populate(delegate);
        return Multimaps.transformValues(delegate, Functions.<Integer>identity()).asMap();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        ;
      }
    
      public enum ListMultimapImpl {
        ArrayListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return ArrayListMultimap.create(contents);
          }
        },
        LinkedListMultimapImpl {
          @Override
          <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) {
            return LinkedListMultimap.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)
  9. guava/src/com/google/common/collect/LinkedListMultimap.java

    import java.util.Set;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An implementation of {@code ListMultimap} that supports deterministic iteration order for both
     * keys and values. The iteration order is preserved across non-distinct key values. For example,
     * for the following multimap definition:
     *
     * <pre>{@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        suite.addTest(
            ListMultimapTestSuiteBuilder.using(
                    new TestStringListMultimapGenerator() {
                      @Override
                      protected ListMultimap<String, String> create(Entry<String, String>[] entries) {
                        ListMultimap<String, String> multimap = LinkedListMultimap.create();
                        for (Entry<String, String> entry : entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top