- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MetadataTreeNode (0.18 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java
this.md = md; } public MetadataTreeNode getParent() { return parent; } public void setParent(MetadataTreeNode parent) { this.parent = parent; } public MetadataTreeNode[] getChildren() { return children; } public void setChildren(MetadataTreeNode[] children) { this.children = children; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
public MetadataTreeNode getClasspathAsTree() throws MetadataResolutionException { if (classpath == null || classpath.size() < 1) { return null; } MetadataTreeNode tree = null; MetadataTreeNode parent = null; for (ArtifactMetadata md : classpath) { MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
public MetadataResolutionResult(MetadataTreeNode root) { this.treeRoot = root; } // ---------------------------------------------------------------------------- public MetadataTreeNode getTree() { return treeRoot; } // ---------------------------------------------------------------------------- public void setTree(MetadataTreeNode root) { this.treeRoot = root; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
private static int countNodes(MetadataTreeNode tree) { if (tree == null) { return 0; } int count = 1; MetadataTreeNode[] kids = tree.getChildren(); if (kids == null || kids.length < 1) { return count; } for (MetadataTreeNode n : kids) { count += countNodes(n); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.1K bytes - Viewed (0)