Returns the height of the subtree, rooted at the current node. @return The height of the subtree, rooted ad the current node. It will be 1, if the node is a leaf.
()
| 166 | * the node is a leaf. |
| 167 | */ |
| 168 | public int height(){ |
| 169 | return height; |
| 170 | } |
| 171 | |
| 172 | /** |
| 173 | * Returns the height of a subtree, rooted at a given node. This function accepts |
no outgoing calls