TreeNode function ( String arg0 ) { if ( children == null ) return ( null ) ; Iterator loc0 = children . iterator ( ) ; while ( loc0 . hasNext ( ) ) { TreeNode loc1 = ( TreeNode ) loc0 . next ( ) ; if ( arg0 . equals ( loc1 . getName ( ) ) ) return ( loc1 ) ; } return ( null ) ; }
return the first child node of this node with the specified name , if there is one ; otherwise , return null . concode_field_sep String name concode_elem_sep HashMap attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList children concode_field_sep String findAttribute concode_elem_sep String getName concode_elem_sep void addAttribute concode_elem_sep String getBody concode_elem_sep Iterator findAttributes concode_elem_sep String toString concode_elem_sep void toString concode_elem_sep Iterator findChildren concode_elem_sep Iterator findChildren concode_elem_sep void removeAttribute concode_elem_sep void setBody concode_elem_sep void addChild concode_elem_sep void removeNode