Returns the position of a node within the children of this node. This is a number between 0 and one less than the number of children of this node. It returns -1 if child
does not have this node as a parent.
This method does a linear search through the node's children. On average, it executes in O(N) where N is the number of children of the node.
@param child the node whose position is desired @return the position of the argument node among the children of this node
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|