- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MetadataTreeNode (0.06 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
public MetadataTreeNode getClasspathAsTree() throws MetadataResolutionException { if (classpath == null || classpath.isEmpty()) { return null; } MetadataTreeNode tree = null; MetadataTreeNode parent = null; for (ArtifactMetadata md : classpath) { MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 4.2K 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 Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13K bytes - Viewed (0)