libUTL++
|
#include <SkipListNode.h>
Public Member Functions | |
Object * | get () const |
Get the contained object. More... | |
void | set (const Object *object, uint_t level, SkipListNode **update) |
Set the contained object, update link pointers. More... | |
void | set (const Object *object) |
Set the contained object. More... | |
bool | isHead () const |
Determine whether self is the head node. More... | |
bool | isTail () const |
Determine whether self is the tail node. More... | |
SkipListNode * | next (uint_t idx=0) const |
Get the next node. More... | |
SkipListNode * | prev () const |
Get the previous node. More... | |
void | setNext (uint_t i, SkipListNode *node) |
Set the next node. More... | |
void | setPrev (SkipListNode *node) |
Set the previous node. More... | |
void | remove (uint_t level, SkipListNode **update) |
Remove self from the list. More... | |
SkipList node.
You shouldn't need to use this class directly.
Attributes
Definition at line 30 of file SkipListNode.h.
|
inline |
Get the contained object.
Definition at line 37 of file SkipListNode.h.
void utl::SkipListNode::set | ( | const Object * | object, |
uint_t | level, | ||
SkipListNode ** | update | ||
) |
Set the contained object, update link pointers.
|
inline |
Set the contained object.
Definition at line 47 of file SkipListNode.h.
|
inline |
Determine whether self is the head node.
Definition at line 54 of file SkipListNode.h.
|
inline |
Determine whether self is the tail node.
Definition at line 61 of file SkipListNode.h.
|
inline |
Get the next node.
Definition at line 68 of file SkipListNode.h.
|
inline |
Get the previous node.
Definition at line 75 of file SkipListNode.h.
|
inline |
Set the next node.
Definition at line 82 of file SkipListNode.h.
|
inline |
Set the previous node.
Definition at line 89 of file SkipListNode.h.
void utl::SkipListNode::remove | ( | uint_t | level, |
SkipListNode ** | update | ||
) |
Remove self from the list.