child_index


Description:

public int child_index (G data)

Gets the position of the first child of a Node which contains the given data.

Parameters:

this

a Node

data

the data to find

Returns:

the index of the child of this which contains data, or -1 if the data is not found