Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enumerable (0.22 sec)

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

       * a start position other than 0.
       */
    
      public void testForEnumerationEmpty() {
        Enumeration<Integer> enumer = enumerate();
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertFalse(iter.hasNext());
        try {
          iter.next();
          fail();
        } catch (NoSuchElementException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

       * a start position other than 0.
       */
    
      public void testForEnumerationEmpty() {
        Enumeration<Integer> enumer = enumerate();
        Iterator<Integer> iter = Iterators.forEnumeration(enumer);
    
        assertFalse(iter.hasNext());
        try {
          iter.next();
          fail();
        } catch (NoSuchElementException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
Back to top