Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testSampleCode (0.06 seconds)

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

              public Iterator<Integer> iterator() {
                return newDoubler(2, 32);
              }
            };
        assertThat(doubled).containsExactly(2, 4, 8, 16, 32).inOrder();
      }
    
      public void testSampleCode() {
        Iterable<Integer> actual =
            new Iterable<Integer>() {
              @Override
              public Iterator<Integer> iterator() {
                Iterator<Integer> powersOfTwo =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.7K bytes
    - Click Count (0)
Back to Top