Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCycle_emptyIterable (0.08 seconds)

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

          }
        }
    
        // We left the last iterator pointing to "b". But a new iterator should
        // always point to "a".
        assertThat(cycle.iterator().next()).isEqualTo("a");
      }
    
      public void testCycle_emptyIterable() {
        FluentIterable<Integer> cycle = FluentIterable.<Integer>of().cycle();
        assertFalse(cycle.iterator().hasNext());
      }
    
      public void testCycle_removingAllElementsStopsCycle() {
    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)
Back to Top