Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testSkip_pastEnd (0.08 seconds)

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

            Lists.newArrayList("c", "d", "e"), Lists.newArrayList(FluentIterable.from(list).skip(2)));
        assertThat(FluentIterable.from(list).skip(2).toString()).isEqualTo("[c, d, e]");
      }
    
      public void testSkip_pastEnd() {
        Collection<String> set = ImmutableSet.of("a", "b");
        assertEquals(emptyList(), Lists.newArrayList(FluentIterable.from(set).skip(20)));
      }
    
      public void testSkip_pastEndList() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(newArrayList("c", "d", "e"), newArrayList(skip(list, 2)));
        assertThat(skip(list, 2).toString()).isEqualTo("[c, d, e]");
      }
    
      public void testSkip_pastEnd() {
        Collection<String> set = ImmutableSet.of("a", "b");
        assertEquals(emptyList(), newArrayList(skip(set, 20)));
      }
    
      public void testSkip_pastEndList() {
    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