|
ORIGINAL
|
Implementation of map containers. More...
#include "allocator.h"#include "couple.h"#include "hash.h"#include "hashTable.h"#include "map.h"#include "ownerPtr.h"#include "comparator.h"#include "RBTree.h"#include "skipList.h"

Go to the source code of this file.
Classes | |
| class | original::hashMap< K_TYPE, V_TYPE, HASH, ALLOC > |
| Hash table based implementation of the map interface. More... | |
| class | original::hashMap< K_TYPE, V_TYPE, HASH, ALLOC >::Iterator |
| Bidirectional iterator for hashMap. More... | |
| class | original::treeMap< K_TYPE, V_TYPE, Compare, ALLOC > |
| Red-Black Tree based implementation of the map interface. More... | |
| class | original::treeMap< K_TYPE, V_TYPE, Compare, ALLOC >::Iterator |
| Bidirectional iterator for treeMap. More... | |
| class | original::JMap< K_TYPE, V_TYPE, Compare, ALLOC > |
| Skip List based implementation of the map interface. More... | |
| class | original::JMap< K_TYPE, V_TYPE, Compare, ALLOC >::Iterator |
| Forward iterator for JMap. More... | |
Namespaces | |
| namespace | original |
| Main namespace for the project Original. | |
Implementation of map containers.
Provides three map implementations with different underlying data structures:
Common Features:
Performance Characteristics:
| Container | Insertion | Lookup | Deletion | Ordered | Memory Usage |
|---|---|---|---|---|---|
| hashMap | O(1) avg | O(1) | O(1) | No | Medium-High |
| treeMap | O(log n) | O(log n) | O(log n) | Yes | Low |
| JMap | O(log n) avg | O(log n) | O(log n) | Yes | Medium |
Usage Guidelines:
Additional Features: