Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 1231231231 (0.1 sec)

  1. android/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 {}
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. android/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));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top