#include <Map.h>
Inherits Map< uintptr_t, List< MapElem< K, C >, A >, A >.
Public Member Functions | |
MapElem< K, C > * | put (K akey, C avalue) |
C | get (K akey) |
int | del (K akey) |
MapElem< K, C > * | put_bag (K akey, C c) |
int | get_bag (K akey, Vec< C > &v) |
void | get_keys (Vec< K > &keys) |
void | get_values (Vec< C > &values) |
Definition at line 167 of file Map.h.
int ChainHashMap< K, AHashFns, C, A >::del | ( | K | akey | ) |
Definition at line 641 of file Map.h.
References ConsCell< C, A >::cdr, Vec< C, A, S >::e, List< C, A >::head, Vec< C, A, S >::last(), Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
C ChainHashMap< K, AHashFns, C, A >::get | ( | K | akey | ) |
Definition at line 589 of file Map.h.
References ConsCell< C, A >::cdr, Vec< C, A, S >::e, List< C, A >::head, Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
int ChainHashMap< K, AHashFns, C, A >::get_bag | ( | K | akey, | |
Vec< C > & | v | |||
) |
Definition at line 626 of file Map.h.
References Vec< C, A, S >::add(), ConsCell< C, A >::cdr, Vec< C, A, S >::e, List< C, A >::head, Vec< C, A, S >::n, Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
void ChainHashMap< K, AHashFns, C, A >::get_keys | ( | Vec< K > & | keys | ) |
Definition at line 666 of file Map.h.
References Vec< C, A, S >::add(), ConsCell< C, A >::cdr, List< C, A >::head, Vec< C, A, S >::i, Vec< C, A, S >::n, and Vec< C, A, S >::v.
void ChainHashMap< K, AHashFns, C, A >::get_values | ( | Vec< C > & | values | ) |
Definition at line 676 of file Map.h.
References Vec< C, A, S >::add(), ConsCell< C, A >::cdr, List< C, A >::head, Vec< C, A, S >::i, Vec< C, A, S >::n, and Vec< C, A, S >::v.
MapElem< K, C > * ChainHashMap< K, AHashFns, C, A >::put | ( | K | akey, | |
C | avalue | |||
) |
Definition at line 566 of file Map.h.
References ConsCell< C, A >::car, ConsCell< C, A >::cdr, Vec< C, A, S >::e, List< C, A >::head, List< C, A >::push(), Vec< C, A, S >::set_in(), and MapElem< K, C >::value.
Referenced by ChainHashMap< K, AHashFns, C, A >::put_bag().
MapElem< K, C > * ChainHashMap< K, AHashFns, C, A >::put_bag | ( | K | akey, | |
C | c | |||
) |
Definition at line 605 of file Map.h.
References ConsCell< C, A >::car, ConsCell< C, A >::cdr, Vec< C, A, S >::e, List< C, A >::head, List< C, A >::push(), ChainHashMap< K, AHashFns, C, A >::put(), Vec< C, A, S >::set_in(), and MapElem< K, C >::value.