- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for countNodes (0.09 sec)
-
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); } return count;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.1K bytes - Viewed (0)