- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testRemoveIf_alwaysTrueUnsupported (2.33 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
} catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveIf_alwaysTrueUnsupported() { try { collection.removeIf(x -> true); fail("removeIf(x -> true) should throw " + "UnsupportedOperationException"); } catch (UnsupportedOperationException expected) { }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 4.1K bytes - Viewed (0)