Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Vertex (0.07 sec)

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

        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
        }
    
        public Collection<Vertex> getVertices() {
            return vertices.values();
        }
    
        Vertex addVertex(String label) {
            return vertices.computeIfAbsent(label, Vertex::new);
        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
        }
    
        public Collection<Vertex> getVertices() {
            return vertices.values();
        }
    
        Vertex addVertex(String label) {
            return vertices.computeIfAbsent(label, Vertex::new);
        }
    
        void addEdge(Vertex from, Vertex to) throws CycleDetectedException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

            Map<String, Vertex> vertices = vertexMap.get(projectKey);
    
            if (vertices != null) {
                if (isSpecificVersion(version)) {
                    Vertex vertex = vertices.get(version);
                    if (vertex != null) {
                        addEdge(projectVertex, vertex, project, projectMap, force, safe);
                    }
                } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

        static void addEdge(Graph graph, String v1, String v2) throws CycleDetectedException {
            Vertex vx1 = graph.addVertex(v1);
            Vertex vx2 = graph.addVertex(v2);
            graph.addEdge(vx1, vx2);
        }
    
        static boolean hasEdge(Graph graph, String v1, String v2) {
            Vertex vx1 = graph.getVertex(v1);
            Vertex vx2 = graph.getVertex(v2);
            return vx1 != null && vx2 != null && vx1.children.contains(vx2);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            return vertices;
        }
    
        public List<MetadataGraphEdge> getIncidentEdges(MetadataGraphVertex vertex) {
            checkEdges();
            return incidentEdges.get(vertex);
        }
    
        public List<MetadataGraphEdge> getExcidentEdges(MetadataGraphVertex vertex) {
            checkEdges();
            return excidentEdges.get(vertex);
        }
    
        public boolean isVersionedVertices() {
            return versionedVertices;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

        }
    
        // ---------------------------------------------------------------------
        @Override
        public int compareTo(MetadataGraphVertex vertex) {
            if (vertex == null || vertex.getMd() == null) {
                return 1;
            }
    
            ArtifactMetadata vmd = vertex.getMd();
    
            if (vmd == null) {
                if (md == null) {
                    return 0;
                } else {
                    return 1;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        }
    
        private static void addPhase(
                Graph graph, Graph.Vertex before, Graph.Vertex after, org.apache.maven.api.Lifecycle.Phase phase) {
            Graph.Vertex ep0 = graph.addVertex(BEFORE + phase.name());
            Graph.Vertex ep1 = graph.addVertex("$$" + phase.name());
            Graph.Vertex ep2 = graph.addVertex(phase.name());
            Graph.Vertex ep3 = graph.addVertex(AFTER + phase.name());
            graph.addEdge(ep0, ep1);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    java.util.List vertexList; public void DAG(); public java.util.List getVerticies(); public java.util.Set getLabels(); public Vertex addVertex(String); public void addEdge(String, String) throws CycleDetectedExcepti; public void addEdge(Vertex, Vertex) throws CycleDetectedExcepti; public void removeEdge(String, String); public void removeEdge(Vertex, Vertex); public Vertex getVertex(String); public boolean hasEdge(String, String); public java.util.List getChildLabels(String); public java.util.List...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                return null; // no edges - nothing to worry about
            }
    
            final TreeSet<MetadataGraphVertex> vertices = graph.getVertices();
    
            try {
                // edge case - single vertex graph
                if (vertices.size() == 1) {
                    return new MetadataGraph(entry);
                }
    
                final ArtifactScopeEnum requestedScope = ArtifactScopeEnum.checkScope(scope);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

                        }
                        cycle.removeLast();
                        stateMap.put(v, DfsState.VISITED);
                    } else if (state == DfsState.VISITING) {
                        // we are already visiting this vertex, this mean we have a cycle
                        int pos = cycle.lastIndexOf(v);
                        List<String> ret = cycle.subList(pos, cycle.size());
                        ret.add(v);
                        return ret;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top