Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getIncidentEdges (0.25 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

                    1,
                    res.getIncidentEdges(v2).size(),
                    "wrong # of v2 incident edges in the resulting graph after resolver");
            assertEquals(
                    "1.2",
                    res.getIncidentEdges(v2).get(0).getVersion(),
                    "wrong edge v1-v2 in the resulting graph after resolver");
    
            assertEquals(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        // ------------------------------------------------------------------------
        public List<MetadataGraphEdge> getEdgesBetween(MetadataGraphVertex vFrom, MetadataGraphVertex vTo) {
            List<MetadataGraphEdge> edges = getIncidentEdges(vTo);
            if (edges == null || edges.isEmpty()) {
                return null;
            }
    
            List<MetadataGraphEdge> res = new ArrayList<>(edges.size());
    
            for (MetadataGraphEdge e : edges) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                res.setEntry(resEntry);
    
                res.setScope(requestedScope);
    
                for (MetadataGraphVertex v : vertices) {
                    final List<MetadataGraphEdge> ins = graph.getIncidentEdges(v);
                    final MetadataGraphEdge edge = cleanEdges(v, ins, requestedScope);
    
                    if (edge == null) { // no edges - don't need this vertex anymore
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top