#include <skiplist.hpp>
Public Member Functions | |
| Node (SentinelType type, const KeyValuePair &data) | |
Public Attributes | |
| SentinelType | type |
| KeyValuePair | data |
| Node * | prev |
| Node * | next |
| Node * | up |
| Node * | down |
Skip List Node Class.
This class represents a node in the skip list. Each node contains a key-value pair, pointers to the next and previous nodes, and pointers to the upper and lower levels of the skip list. The node type is represented by the SentinelType enum.