insert_sorted


Description:

public void insert_sorted (TreeNode child, TreeNodeCompareFunc compare_func)

Inserts a child as a child of this, sorting it among the other children.

Parameters:

this

A TreeNode.

child

A TreeNode.

compare_func

A compare func to compare nodes.

user_data

user data for compare_func.