- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 213 for RemoveAll (0.27 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java
@MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllAbsentKey() { assertEmpty(multimap().removeAll(k3())); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPresentKey() { assertContentsAnyOrder(multimap().removeAll(k0()), v0()); expectMissing(e0()); } @CollectionSize.Require(absent = ZERO)
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
assertFalse( "removeAll(emptyCollection) should return false", collection.removeAll(MinimalCollection.of())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_nonePresent() { assertFalse( "removeAll(disjointCollection) should return false", collection.removeAll(MinimalCollection.of(e3()))); expectUnchanged(); }
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
assertFalse( "removeAll(emptyCollection) should return false", collection.removeAll(MinimalCollection.of())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_nonePresent() { assertFalse( "removeAll(disjointCollection) should return false", collection.removeAll(MinimalCollection.of(e3()))); expectUnchanged(); }
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse( "after removeAll(e), a collection should not contain e even " + "if it initially contained e more than once.", getList().contains(duplicate)); }
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveAllTester.java
collection = getSubjectGenerator().create(arrayAndDuplicate.elements); E duplicate = arrayAndDuplicate.duplicate; assertTrue( "removeAll(intersectingCollection) should return true", getList().removeAll(MinimalCollection.of(duplicate))); assertFalse( "after removeAll(e), a collection should not contain e even " + "if it initially contained e more than once.", getList().contains(duplicate)); }
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 2.3K bytes - Viewed (0) -
cmd/os-reliable.go
// here. return errFileAccessDenied } } return err } // Reliably retries os.RemoveAll if for some reason os.RemoveAll returns // syscall.ENOTEMPTY (children has files). func reliableRemoveAll(dirPath string) (err error) { i := 0 for { // Removes all the directories and files. if err = RemoveAll(dirPath); err != nil { // Retry only for the first retryable error. if isSysErrNotEmpty(err) && i == 0 {
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Wed Sep 13 15:14:36 GMT 2023 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
} @Override public void testEntrySetRemoveAllNullFromEmpty() { try { super.testEntrySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE. } } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) {
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
} @Override public void testEntrySetRemoveAllNullFromEmpty() { try { super.testEntrySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE. } } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) {
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java
@MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllAbsentKey() { assertEmpty(multimap().removeAll(k3())); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @MapFeature.Require(SUPPORTS_REMOVE) public void testRemoveAllPresentKey() { assertContentsAnyOrder(multimap().removeAll(k0()), v0()); expectMissing(e0()); } @CollectionSize.Require(absent = ZERO)
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
Java - Registered: Fri Mar 22 12:43:11 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.2K bytes - Viewed (0)