Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for ArrayListMultimap (0.27 sec)

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

        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        try {
          ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ArrayListMultimap<@Nullable String, Integer> input = ArrayListMultimap.create();
        input.put(null, 1);
        try {
          ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

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

        checkUnmodifiableMultimap(
            ArrayListMultimap.<@Nullable String, @Nullable Integer>create(), true);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableArrayListMultimap() {
        Multimap<String, Integer> unmodifiable =
            prepareUnmodifiableTests(ArrayListMultimap.<String, Integer>create(), true, 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)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return generateArrayListMultimap(key, value);
      }
    
      @Generates
      static <K, V> ArrayListMultimap<K, V> generateArrayListMultimap(
          @Nullable K key, @Nullable V value) {
        ArrayListMultimap<K, V> multimap = ArrayListMultimap.create();
        multimap.put(key, value);
        return multimap;
      }
    
      @Generates
    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/collect/testing/google/UnmodifiableCollectionTests.java

    import static junit.framework.TestCase.assertTrue;
    import static junit.framework.TestCase.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

                                ArrayListMultimap.<String, String>create());
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
                    })
                .named("synchronized ArrayListMultimap")
                .withFeatures(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import static junit.framework.TestCase.assertTrue;
    import static junit.framework.TestCase.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ArrayListMultimap;
    import com.google.common.collect.Iterators;
    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimap.java

     * {@code Map<K, Collection<V>>} in the first place).
     *
     * <h3>Example</h3>
     *
     * <p>The following code:
     *
     * <pre>{@code
     * ListMultimap<String, String> multimap = ArrayListMultimap.create();
     * for (President pres : US_PRESIDENTS_IN_ORDER) {
     *   multimap.put(pres.firstName(), pres.lastName());
     * }
     * for (String firstName : multimap.keySet()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(multimap, input);
        assertEquals(input, multimap);
      }
    
      public void testCopyOfWithDuplicates() {
        ArrayListMultimap<Object, Object> input = ArrayListMultimap.create();
        input.put("foo", 1);
        input.put("bar", 2);
        input.put("foo", 3);
        input.put("foo", 1);
        ImmutableSetMultimap<Object, Object> copy = ImmutableSetMultimap.copyOf(input);
    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)
Back to top