Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Graph (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.util.*;
    
    import org.apache.maven.project.CycleDetectedException;
    
    class Graph {
        private enum DfsState {
            VISITING,
            VISITED
        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    
    class Graph {
    
        final Map<String, Set<String>> graph = new LinkedHashMap<>();
    
        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

             *       v3-v4
             *
             */
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
            // v1-->v2
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
    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)
  4. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

             *   v1<
             *      v3-v4
             *
             */
            graph = new MetadataGraph(4, 3);
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
            // v1-->v2
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

        Node getNode(org.eclipse.aether.graph.DependencyNode node);
    
        Node getNode(org.eclipse.aether.graph.DependencyNode node, boolean verbose);
    
        @Nonnull
        Artifact getArtifact(@Nonnull org.eclipse.aether.artifact.Artifact artifact);
    
        @Nonnull
        Dependency getDependency(@Nonnull org.eclipse.aether.graph.Dependency dependency);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinateFactory.java

                                request.isOptional(),
                                map(request.getExclusions(), this::toExclusion)));
            }
        }
    
        private org.eclipse.aether.graph.Exclusion toExclusion(Exclusion exclusion) {
            return new org.eclipse.aether.graph.Exclusion(exclusion.getGroupId(), exclusion.getArtifactId(), "*", "*");
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinate.java

        private final org.eclipse.aether.graph.Dependency dependency;
    
        public DefaultDependencyCoordinate(
                @Nonnull InternalSession session, @Nonnull org.eclipse.aether.graph.Dependency dependency) {
            this.session = nonNull(session, "session");
            this.dependency = nonNull(dependency, "dependency");
        }
    
        @Nonnull
        public org.eclipse.aether.graph.Dependency getDependency() {
            return dependency;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

    import org.eclipse.aether.util.graph.manager.ClassicDependencyManager;
    import org.eclipse.aether.util.graph.selector.AndDependencySelector;
    import org.eclipse.aether.util.graph.selector.ExclusionDependencySelector;
    import org.eclipse.aether.util.graph.transformer.ChainedDependencyGraphTransformer;
    import org.eclipse.aether.util.graph.transformer.ConflictResolver;
    import org.eclipse.aether.util.graph.transformer.NearestVersionSelector;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java

    import org.eclipse.aether.util.graph.manager.ClassicDependencyManager;
    import org.eclipse.aether.util.graph.selector.AndDependencySelector;
    import org.eclipse.aether.util.graph.selector.ExclusionDependencySelector;
    import org.eclipse.aether.util.graph.transformer.ChainedDependencyGraphTransformer;
    import org.eclipse.aether.util.graph.transformer.ConfigurableVersionSelector;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

             * Construct a new value source, using the supplied object as the root from
             * which to start, and using expressions split at the dot ('.') to navigate
             * the object graph beneath this root.
             * @param root the root of the graph.
             */
            public ObjectBasedValueSource(Object root) {
                super(true);
                this.root = root;
            }
    
            /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top