Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void listChildren(Node current, int depth)
- {
- for (int i = 0; i < current.getChildCount(); i++)
- {
- listChildren(current.getChild(i), depth + 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement