Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 179 for Multimap (0.07 sec)

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

      public void testPutAllHandlesDuplicates() {
        List<V> valuesToPut = asList(v0(), v1(), v0());
    
        for (K k : sampleKeys()) {
          resetContainer();
    
          Set<V> expectedValues = copyToSet(multimap().get(k));
    
          multimap().putAll(k, valuesToPut);
          expectedValues.addAll(valuesToPut);
    
          assertGet(k, expectedValues);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

      /**
       * Returns all subscribers for the given listener grouped by the type of event they subscribe to.
       */
      private Multimap<Class<?>, Subscriber> findAllSubscribers(Object listener) {
        Multimap<Class<?>, Subscriber> methodsInListener = HashMultimap.create();
        Class<?> clazz = listener.getClass();
        for (Method method : getAnnotatedMethods(clazz)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        HashMultimap<K, V> multimap = HashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
      static <K, V> LinkedHashMultimap<K, V> generateLinkedHashMultimap(
          @Nullable K key, @Nullable V value) {
        LinkedHashMultimap<K, V> multimap = LinkedHashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/GenerateApiMapping.java

     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.source;
    
    import com.google.common.collect.LinkedHashMultimap;
    import com.google.common.collect.Multimap;
    import org.gradle.api.DefaultTask;
    import org.gradle.api.NonNullApi;
    import org.gradle.api.file.RegularFileProperty;
    import org.gradle.api.provider.SetProperty;
    import org.gradle.api.tasks.CacheableTask;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
        List<V> values = asList(v3(), v1(), v4());
    
        for (K k : sampleKeys()) {
          resetContainer();
          multimap().replaceValues(k, values);
          assertGet(k, values);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.collect.Iterators;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.MapDifference;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multimaps;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.PeekingIterator;
    import com.google.common.collect.Range;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
        List<V> values = asList(v3(), v1(), v4());
    
        for (K k : sampleKeys()) {
          resetContainer();
          multimap().replaceValues(k, values);
          assertGet(k, values);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java

      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesHandlesDuplicates() {
        List<V> values = asList(v0(), v1(), v0());
    
        for (K k : sampleKeys()) {
          resetContainer();
          multimap().replaceValues(k, values);
          assertGet(k, v0(), v1());
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

       * iterable will be stored as a value in the resulting multimap, yielding a multimap with the same
       * size as this iterable. The key used to store that value in the multimap will be the result of
       * calling the function on that value. The resulting multimap is created as an immutable snapshot.
       * In the returned multimap, keys appear in the order they are first encountered, and the values
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/MediaType.java

    import com.google.common.collect.ImmutableMultiset;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multimaps;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import com.google.errorprone.annotations.Immutable;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top