Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getVertices (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                    }
                }
                // System.err.println("Original graph("+graph.getVertices().size()+"):\n"+graph.toString());
                // System.err.println("Cleaned("+requestedScope+") graph("+res.getVertices().size()+"):\n"+res.toString());
                // System.err.println("Linked("+requestedScope+")
                // subgraph("+linkedRes.getVertices().size()+"):\n"+linkedRes.toString());
                return findLinkedSubgraph(res);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            assertNotNull(res, "null graph after resolver");
            assertNotNull(res.getVertices(), "no vertices in the resulting graph after resolver");
    
            assertNotNull(res.getExcidentEdges(v1), "no edges in the resulting graph after resolver");
    
            assertEquals(4, res.getVertices().size(), "wrong # of vertices in the resulting graph after resolver");
            assertEquals(
                    2,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            VISITED
        }
    
        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);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

            protected ClasspathGraphVisitor(MetadataGraph cleanGraph, ClasspathContainer cpc) {
                this.cpc = cpc;
                this.graph = cleanGraph;
    
                visited = new ArrayList<>(cleanGraph.getVertices().size());
            }
    
            // -----------------------------------------------------------------------
            protected void visit(MetadataGraphVertex node) // , String version, String artifactUri )
                    {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        public MetadataGraphVertex getEntry() {
            return entry;
        }
    
        public void setEntry(MetadataGraphVertex entry) {
            this.entry = entry;
        }
    
        public TreeSet<MetadataGraphVertex> getVertices() {
            return vertices;
        }
    
        public List<MetadataGraphEdge> getIncidentEdges(MetadataGraphVertex vertex) {
            checkEdges();
            return incidentEdges.get(vertex);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top