Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for 1231231231 (0.06 seconds)

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

        Iterable<Integer> iterable = asList(1, 2, 3);
        int n = 4;
        FluentIterable<Integer> repeated = FluentIterable.concat(nCopies(n, iterable));
        assertThat(repeated).containsExactly(1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3).inOrder();
      }
    
      interface X {}
    
      interface Y {}
    
      static class A implements X, Y {}
    
      static class B implements X, Y {}
    
      /**
    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

        Iterable<Integer> iterable = asList(1, 2, 3);
        int n = 4;
        Iterable<Integer> repeated = Iterables.concat(nCopies(n, iterable));
        assertThat(repeated).containsExactly(1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3).inOrder();
      }
    
      public void testPartition_badSize() {
        Iterable<Integer> source = singleton(1);
        assertThrows(IllegalArgumentException.class, () -> Iterables.partition(source, 0));
      }
    
    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