- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for countNodes (0.11 sec)
-
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Oct 05 18:41:13 UTC 2023 - 13.1K bytes - Viewed (0)