lab_avl
AVL Apocalypse
Public Member Functions | List of all members
AVLTree< K, V >::Node Struct Reference

Represents a tree node; that is, an element in a AVLTree. More...

Public Member Functions

 Node (const K &newKey, const V &newValue)
 Node element constructor; sets children to point to NULL. More...
 

Detailed Description

template<class K, class V>
struct AVLTree< K, V >::Node

Represents a tree node; that is, an element in a AVLTree.

It has a data element and pointers to its left and right children.

Constructor & Destructor Documentation

template<class K , class V >
AVLTree< K, V >::Node::Node ( const K &  newKey,
const V &  newValue 
)
inline

Node element constructor; sets children to point to NULL.

Parameters
newKeyThe object to use as a key
newValueThe templated data element that the constructed node will hold.

The documentation for this struct was generated from the following file: