Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testForEnumerationSingleton (0.09 seconds)

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

        assertFalse(iter.hasNext());
        assertThrows(NoSuchElementException.class, () -> iter.next());
      }
    
      @SuppressWarnings("DoNotCall")
      public void testForEnumerationSingleton() {
        Enumeration<Integer> enumer = enumerate(1);
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertTrue(iter.hasNext());
        assertTrue(iter.hasNext());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
Back to Top