Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for i2 (0.11 sec)

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

        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
        Iterator<String> i1 = Iterators.consumingIterator(list.iterator());
        Iterator<String> i2 = Iterators.consumingIterator(list.iterator());
    
        i1.next();
        try {
          i2.next();
          fail("Concurrent modification should throw an exception.");
        } catch (ConcurrentModificationException cme) {
          // Pass
        }
      }
    
    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. guava-tests/test/com/google/common/collect/IterablesTest.java

        // Test & Verify
        Iterator<String> i1 = Iterables.consumingIterable(list).iterator();
        Iterator<String> i2 = Iterables.consumingIterable(list).iterator();
    
        i1.next();
        try {
          i2.next();
          fail("Concurrent modification should throw an exception.");
        } catch (ConcurrentModificationException cme) {
          // Pass
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Test & Verify
        Iterator<String> i1 = Iterables.consumingIterable(list).iterator();
        Iterator<String> i2 = Iterables.consumingIterable(list).iterator();
    
        i1.next();
        try {
          i2.next();
          fail("Concurrent modification should throw an exception.");
        } catch (ConcurrentModificationException cme) {
          // Pass
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
        Iterator<String> i1 = Iterators.consumingIterator(list.iterator());
        Iterator<String> i2 = Iterators.consumingIterator(list.iterator());
    
        i1.next();
        try {
          i2.next();
          fail("Concurrent modification should throw an exception.");
        } catch (ConcurrentModificationException cme) {
          // Pass
        }
      }
    
    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