abc-master
|
#include <Map.h>
Data Structures | |
struct | Pair |
Public Member Functions | |
Map () | |
Map (const H &h, const E &e) | |
~Map () | |
const D & | operator[] (const K &k) const |
D & | operator[] (const K &k) |
void | insert (const K &k, const D &d) |
bool | peek (const K &k, D &d) const |
bool | has (const K &k) const |
void | remove (const K &k) |
void | clear () |
int | elems () const |
int | bucket_count () const |
void | moveTo (Map &other) |
const vec< Pair > & | bucket (int i) const |
Private Member Functions | |
Map< K, D, H, E > & | operator= (Map< K, D, H, E > &other) |
Map (Map< K, D, H, E > &other) | |
bool | checkCap (int new_size) const |
int32_t | index (const K &k) const |
void | _insert (const K &k, const D &d) |
void | rehash () |
Private Attributes | |
H | hash |
E | equals |
vec< Pair > * | table |
int | cap |
int | size |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |