Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testRemove_notPresent (0.11 sec)

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

              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.remove(e0()));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
        assertFalse("remove(notPresent) should return false", collection.remove(e3()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

              Iterator<V> iterator = getMap().values().iterator();
              getMap().remove(k0());
              iterator.next();
            });
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
        assertNull("remove(notPresent) should return null", getMap().remove(k3()));
        expectUnchanged();
      }
    
      @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEYS})
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.remove(e0()));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
        assertFalse("remove(notPresent) should return false", collection.remove(e3()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top