Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Next (0.2 sec)

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

                        Entry<String, String> next;
    
                        {
                            advance();
                        }
    
                        private void advance() {
                            next = null;
                            while (iterator.hasNext()) {
                                Entry<Object, Object> e = iterator.next();
                                if (PropertiesAsMap.matches(e)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                        // move on to next in r1
                        if (i1.hasNext()) {
                            res1 = i1.next();
                        } else {
                            done = true;
                        }
                    }
                } else {
                    // move on to next in r2
                    if (i2.hasNext()) {
                        res2 = i2.next();
                    } else {
    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. maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            printErrors(result);
    
            Iterator<Artifact> i = result.getArtifacts().iterator();
            assertEquals(n, i.next(), "n should be first");
            assertEquals(m, i.next(), "m should be second");
    
            // inverse order
            set = new LinkedHashSet<>();
            set.add(m);
            set.add(n);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java

            return new Iterator<U>() {
                @Override
                public boolean hasNext() {
                    return it.hasNext();
                }
    
                @Override
                public U next() {
                    return mapper.apply(it.next());
                }
            };
        }
    
        @Override
        public int size() {
            return list.size();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. 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)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

            INLINE, // inline, each "internal" problem one line next to mojo invocation
            SUMMARY, // at end, list of plugin GAVs along with ANY validation issues
            BRIEF, // each "internal" problem one line next to mojo invocation
            // and at end list of plugin GAVs along with "external" issues
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            return tempFile;
        }
    
        public void cleanUp() throws IOException {
            for (Iterator it = filesToDelete.iterator(); it.hasNext(); ) {
                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
                    } else {
                        file.delete();
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

            Iterator<RemoteRepository> iterator = repositories.iterator();
            while (iterator.hasNext()) {
                RemoteRepository next = iterator.next();
                if (next.getId().equals(id)) {
                    iterator.remove();
                }
            }
        }
    
        public ModelResolver newCopy() {
            return new ProjectModelResolver(this);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                                .getResources("META-INF/maven/org.apache.maven.api.di.Inject")
                                .asIterator();
                        it.hasNext(); ) {
                    URL url = it.next();
                    List<String> lines;
                    try (InputStream is = url.openStream();
                            BufferedReader reader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.9K bytes
    - Viewed (0)
Back to top