Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testSkip_allOfMutableList_modifiable (0.53 seconds)

  1. guava-tests/test/com/google/common/collect/IterablesTest.java

          // We want remove() to fail even after a failed call to next().
        }
        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
      public void testSkip_allOfMutableList_modifiable() {
        List<String> list = newArrayList("a", "b");
        Iterator<String> iterator = skip(list, 2).iterator();
        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
Back to Top