Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for graaph (0.22 sec)

  1. maven-core/src/test/java/org/apache/maven/project/GraphTest.java

            Graph graph3 = new Graph();
            graph3.addVertex("a");
            graph3.addVertex("b");
            graph3.addVertex("c");
            graph3.addVertex("d");
            graph3.addVertex("e");
            graph3.addVertex("f");
            addEdge(graph3, "a", "b");
            addEdge(graph3, "b", "c");
            addEdge(graph3, "b", "d");
            addEdge(graph3, "c", "d");
            addEdge(graph3, "c", "e");
            addEdge(graph3, "f", "d");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 8.3K 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-core/src/main/java/org/apache/maven/project/Graph.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.util.*;
    
    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 Sep 22 06:02:04 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. 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)
  5. maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

         * in <code>ArtifactScopeEnum</code>
         *
         * @param graph the "dirty" graph to be simplified via conflict resolution
         * @param scope scope for which the graph should be resolved
         *
         * @return resulting "clean" graph for the specified scope
         *
         * @since 3.0
         */
        MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
                throws GraphConflictResolutionException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

        private final Map<MavenProject, Integer> order;
    
        private final Map<String, MavenProject> projects;
    
        /**
         * Creates a new project dependency graph based on the specified projects.
         *
         * @param projects The projects to create the dependency graph with
         * @throws DuplicateProjectException
         * @throws CycleDetectedException
         */
        public DefaultProjectDependencyGraph(Collection<MavenProject> projects)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. 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)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollector.java

     * for a given artifact and builds a graph of them.
     * The dependencies collection mechanism will not download any artifacts,
     * and only the pom files will be downloaded.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface DependencyCollector extends Service {
    
        /**
         * Collects the transitive dependencies and builds a dependency graph.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  9. 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)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCollector.java

    import org.eclipse.aether.collection.CollectRequest;
    import org.eclipse.aether.collection.CollectResult;
    import org.eclipse.aether.collection.DependencyCollectionException;
    import org.eclipse.aether.util.graph.manager.DependencyManagerUtils;
    import org.eclipse.aether.util.graph.transformer.ConflictResolver;
    
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultDependencyCollector implements DependencyCollector {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:30:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top