find


Description:

public unowned Node<G> find (TraverseType order, TraverseFlags flags, G data)

Finds a Node in a tree.

Parameters:

this

the root Node of the tree to search

order

the order in which nodes are visited - g_in_order, g_pre_order, g_post_order, or g_level_order

flags

which types of children are to be searched, one of g_traverse_all, g_traverse_leaves and g_traverse_non_leaves

data

the data to find

Returns:

the found Node, or null if the data is not found