|
FreeNOS
|
Describes a bucket in the HashTable, for collision avoidance. More...
#include <HashTable.h>
Public Member Functions | |
| Bucket () | |
| Default constructor. More... | |
| Bucket (K k, V v) | |
| Constructor. More... | |
| Bucket (const Bucket &b) | |
| Copy constructor. More... | |
| bool | operator== (const Bucket &b) const |
| Comparision operator. More... | |
| bool | operator!= (const Bucket &b) const |
| Inequality operator. More... | |
Data Fields | |
| K | key |
| Key for this item. More... | |
| V | value |
| Value of the item. More... | |
Describes a bucket in the HashTable, for collision avoidance.
Definition at line 51 of file HashTable.h.
|
inline |
Default constructor.
Definition at line 58 of file HashTable.h.
|
inline |
Copy constructor.
Definition at line 76 of file HashTable.h.
|
inline |
Inequality operator.
Definition at line 94 of file HashTable.h.
References HashTable< K, V >::Bucket::key, and HashTable< K, V >::Bucket::value.
|
inline |
Comparision operator.
| b | HashBucket instance to compare us with. |
Definition at line 86 of file HashTable.h.
References HashTable< K, V >::Bucket::key, and HashTable< K, V >::Bucket::value.
| K HashTable< K, V >::Bucket::key |
Key for this item.
Definition at line 100 of file HashTable.h.
Referenced by HashTable< K, V >::Bucket::operator!=(), and HashTable< K, V >::Bucket::operator==().
| V HashTable< K, V >::Bucket::value |
Value of the item.
Definition at line 103 of file HashTable.h.
Referenced by HashTable< K, V >::Bucket::operator!=(), and HashTable< K, V >::Bucket::operator==().
1.8.17