Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testKeySetRemovePropagatesToMultimap (0.32 sec)

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

      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testKeySetContainsNullKeyAbsent() {
        assertFalse(multimap().keySet().contains(null));
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetRemovePropagatesToMultimap() {
        int key0Count = multimap().get(k0()).size();
        assertEquals(key0Count > 0, multimap().keySet().remove(k0()));
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top