public static void printNodeData ( Node rootNode , String tab ) { tab = tab == null ? "" : tab + " " ; for ( Node n : rootNode . getChilds ( ) ) { printNodeData ( n , tab ) ; } }
Debug method to print tree node structure