dev rstoetter cbalancedbinarytree cBalancedBinaryTree::SearchByKey() - rstoetter/cbalancedbinarytree-php GitHub Wiki
Method SearchByKey( ) - of API Reference dev
public \rstoetter\cbalancedbinarytree\cBalancedBinaryTreeNode|boolean rstoetter\cbalancedbinarytree\cBalancedBinaryTree::SearchByKey(\rstoetter\cbalancedbinarytree\typo $key)
- Namespace : rstoetter\cbalancedbinarytree
- Class name: cBalancedBinaryTree
- This method is defined by the class rstoetter\cbalancedbinarytree\cBalancedBinaryTree
Search the tree for the node with the unique key $key
Arguments
- $key \rstoetter\cbalancedbinarytree\typo - <p>the unique key we are searching for</p>
Returns
\rstoetter\cbalancedbinarytree\cBalancedBinaryTreeNode|boolean returns the object we have found in the tree or false, if $key was not found