public void depthFirst ( Closure c ) { Map < String , Object > options = new ListHashMap < String , Object > ( ) ; options . put ( "preorder" , true ) ; depthFirst ( options , c ) ; }
Provides a collection of all the nodes in the tree using a depth - first preorder traversal .