Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSkip_structurallyModifiedSkipAllList (0.12 sec)

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

        Iterable<String> tail = skip(set, 2);
        set.remove("a");
        set.remove("b");
        assertFalse(tail.iterator().hasNext());
      }
    
      public void testSkip_structurallyModifiedSkipAllList() throws Exception {
        List<String> list = newArrayList("a", "b", "c");
        Iterable<String> tail = skip(list, 2);
        list.subList(0, 2).clear();
        assertTrue(Iterables.isEmpty(tail));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 45.6K bytes
    - Viewed (0)
Back to top