Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for initMultimapWithNullKey (0.07 sec)

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

            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testEqualsMultimapWithNullKey() {
        Multimap<K, V> original = multimap();
        initMultimapWithNullKey();
        Multimap<K, V> withNull = multimap();
        new EqualsTester()
            .addEqualityGroup(original)
            .addEqualityGroup(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

        assertEmpty(multimap());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testRemoveAllNullKeyPresent() {
        initMultimapWithNullKey();
    
        assertContentsAnyOrder(multimap().removeAll(null), getValueForNullKey());
    
        expectMissing(mapEntry((K) null, getValueForNullKey()));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java

        assertEquals(oldSize + 1, multimap().size());
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testGetNullPresent() {
        initMultimapWithNullKey();
        assertContains(multimap().get(null), getValueForNullKey());
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGetNullAbsent() {
        assertEmpty(multimap().get(null));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testContainsEntryWithNullKeyPresent() {
        initMultimapWithNullKey();
        assertContains(multimap().entries(), mapEntry((K) null, getValueForNullKey()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContainsEntryWithNullKeyAbsent() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

          }
        }
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testAsMapGetNullKeyPresent() {
        initMultimapWithNullKey();
        assertContentsAnyOrder(multimap().asMap().get(null), getValueForNullKey());
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testAsMapGetNullKeyAbsent() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

        assertGet(k0(), ImmutableList.of());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testRemoveNullKeyPresent() {
        initMultimapWithNullKey();
    
        assertTrue(multimap().remove(null, getValueForNullKey()));
    
        expectMissing(mapEntry((K) null, getValueForNullKey()));
        assertGet(getKeyForNullValue(), ImmutableList.of());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java

        assertGet(k0(), ImmutableList.of());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      public void testRemoveNullKeyPresent() {
        initMultimapWithNullKey();
    
        assertTrue(multimap().remove(null, getValueForNullKey()));
    
        expectMissing(mapEntry((K) null, getValueForNullKey()));
        assertGet(getKeyForNullValue(), ImmutableList.of());
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top