Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for i2 (0.12 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java

                Iterator<Exclusion> i1 = ce1.iterator();
                Iterator<Exclusion> i2 = ce2.iterator();
                while (i1.hasNext() && i2.hasNext()) {
                    if (!equals(i1.next(), i2.next())) {
                        return false;
                    }
                }
                return !i1.hasNext() && !i2.hasNext();
            }
            return false;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            List<Restriction> restrictions = new ArrayList<>(r1.size() + r2.size());
            Iterator<Restriction> i1 = r1.iterator();
            Iterator<Restriction> i2 = r2.iterator();
            Restriction res1 = i1.next();
            Restriction res2 = i2.next();
    
            boolean done = false;
            while (!done) {
                if (res1.getLowerBound() == null
                        || res2.getUpperBound() == null
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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