dev rstoetter cbalancedbinarytree cBalancedBinaryTree::_GetAryLeftRootRight() - rstoetter/cbalancedbinarytree-php GitHub Wiki

Method _GetAryLeftRootRight( ) - of API Reference dev

 private   array rstoetter\cbalancedbinarytree\cBalancedBinaryTree::_GetAryLeftRootRight(\rstoetter\cbalancedbinarytree\cBalancedBinaryTree $tree)
  • Namespace : rstoetter\cbalancedbinarytree
  • Class name: cBalancedBinaryTree
  • This method is defined by the class rstoetter\cbalancedbinarytree\cBalancedBinaryTree

traverse the tree beginning with $tree and return an array with the keys 'data' and 'key'.

Arguments

  • $tree \rstoetter\cbalancedbinarytree\cBalancedBinaryTree - <p>or null</p>

Returns

array array with the keys &#039;data&#039; and &#039;key&#039;