add a child of a node containing the string s precondition : the word is not already a child of this node concode_field_sep WPTreeNode parent concode_elem_sep List<WPTreeNode> children concode_elem_sep WPTreeNode root concode_elem_sep NearbyWords nw concode_elem_sep String word concode_field_sep List<WPTreeNode> getChildren concode_elem_sep String printQueue concode_elem_sep String getWord concode_elem_sep String toString concode_elem_sep List<String> findPath concode_elem_sep List<String> buildPathToRoot
WPTreeNode function ( String arg0 ) { WPTreeNode loc0 = new WPTreeNode ( arg0 , this ) ; this . children . add ( loc0 ) ; return loc0 ; }