Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for HashMultimap (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> multimap = createMultimap();
        Multimap<String, Integer> hashMultimap = HashMultimap.create();
        hashMultimap.putAll("foo", Arrays.asList(1, 3));
        hashMultimap.put("bar", 2);
    
        new EqualsTester()
            .addEqualityGroup(
                multimap,
                createMultimap(),
                hashMultimap,
                ImmutableSetMultimap.<String, Integer>builder()
                    .put("bar", 2)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> multimap = createMultimap();
        Multimap<String, Integer> hashMultimap = HashMultimap.create();
        hashMultimap.putAll("foo", Arrays.asList(1, 3));
        hashMultimap.put("bar", 2);
    
        new EqualsTester()
            .addEqualityGroup(
                multimap,
                createMultimap(),
                hashMultimap,
                ImmutableSetMultimap.<String, Integer>builder()
                    .put("bar", 2)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      public void testUnmodifiableHashMultimap() {
        checkUnmodifiableMultimap(HashMultimap.<@Nullable String, @Nullable Integer>create(), false);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableHashMultimap() {
        Multimap<String, Integer> unmodifiable =
            prepareUnmodifiableTests(HashMultimap.<String, Integer>create(), false, null, null);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 39.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MultimapsTest.java

      public void testUnmodifiableHashMultimap() {
        checkUnmodifiableMultimap(HashMultimap.<@Nullable String, @Nullable Integer>create(), false);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableHashMultimap() {
        Multimap<String, Integer> unmodifiable =
            prepareUnmodifiableTests(HashMultimap.<String, Integer>create(), false, null, null);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateLinkedHashMultimap(key, value);
      }
    
      @Generates
      static <K, V> HashMultimap<K, V> generateHashMultimap(@Nullable K key, @Nullable V value) {
        HashMultimap<K, V> multimap = HashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
      static <K, V> LinkedHashMultimap<K, V> generateLinkedHashMultimap(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateLinkedHashMultimap(key, value);
      }
    
      @Generates
      static <K, V> HashMultimap<K, V> generateHashMultimap(@Nullable K key, @Nullable V value) {
        HashMultimap<K, V> multimap = HashMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
      static <K, V> LinkedHashMultimap<K, V> generateLinkedHashMultimap(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      }
    
      /** Test that creating one TreeMultimap from a non-TreeMultimap results in natural ordering. */
      public void testCreateFromHashMultimap() {
        Multimap<Double, Double> hash = HashMultimap.create();
        hash.put(1.0, 2.0);
        hash.put(2.0, 3.0);
        hash.put(3.0, 4.0);
        hash.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromHash = TreeMultimap.create(hash);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      }
    
      /** Test that creating one TreeMultimap from a non-TreeMultimap results in natural ordering. */
      public void testCreateFromHashMultimap() {
        Multimap<Double, Double> hash = HashMultimap.create();
        hash.put(1.0, 2.0);
        hash.put(2.0, 3.0);
        hash.put(3.0, 4.0);
        hash.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromHash = TreeMultimap.create(hash);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
       * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link
       * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link
       * TreeMultimap#create(Comparator, Comparator)} won't suffice.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top