- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testCycleRemoveSameElementTwice (0.19 sec)
-
guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> cycle = Iterators.cycle("a", "b"); assertTrue(cycle.hasNext()); assertThrows(IllegalStateException.class, () -> cycle.remove()); } public void testCycleRemoveSameElementTwice() { Iterator<String> cycle = Iterators.cycle("a", "b"); cycle.next(); cycle.remove(); assertThrows(IllegalStateException.class, () -> cycle.remove()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
Iterator<String> cycle = Iterators.cycle("a", "b"); assertTrue(cycle.hasNext()); assertThrows(IllegalStateException.class, () -> cycle.remove()); } public void testCycleRemoveSameElementTwice() { Iterator<String> cycle = Iterators.cycle("a", "b"); cycle.next(); cycle.remove(); assertThrows(IllegalStateException.class, () -> cycle.remove()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0)