|
lab_avl
AVL Apocalypse
|
Node represents a tree node; that is, an element in a AVLTree. More...
Collaboration diagram for AVLTree< K, V >::Node:Public Member Functions | |
| Node (const K &newKey, const V &newValue) | |
Node constructor; sets children to point to NULL. More... | |
Node represents a tree node; that is, an element in a AVLTree.
It stores a key, value, and pointers to its left and right children.
|
inline |
Node constructor; sets children to point to NULL.
| newKey | The object to use as a key |
| newValue | The templated data element that the constructed node will hold. |