![]() |
V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Public Types | |
typedef TemplateHashMapEntry< Key, Value > | Entry |
Public Member Functions | |
TemplateHashMapImpl (uint32_t capacity=kDefaultHashMapCapacity, MatchFun match=MatchFun(), AllocationPolicy allocator=AllocationPolicy()) | |
TemplateHashMapImpl (const TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy > *original, AllocationPolicy allocator=AllocationPolicy()) | |
Entry * | Lookup (const Key &key, uint32_t hash) const |
Entry * | LookupOrInsert (const Key &key, uint32_t hash, AllocationPolicy allocator=AllocationPolicy()) |
template<typename Func > | |
Entry * | LookupOrInsert (const Key &key, uint32_t hash, const Func &value_func, AllocationPolicy allocator=AllocationPolicy()) |
Entry * | InsertNew (const Key &key, uint32_t hash, AllocationPolicy allocator=AllocationPolicy()) |
Value | Remove (const Key &key, uint32_t hash) |
void | Clear () |
void | Invalidate () |
uint32_t | occupancy () const |
uint32_t | capacity () const |
Entry * | Start () const |
Entry * | Next (Entry *entry) const |
void | Reset (AllocationPolicy allocator) |
Static Public Attributes | |
static const uint32_t | kDefaultHashMapCapacity = 8 |
Protected Member Functions | |
void | Initialize (uint32_t capacity, AllocationPolicy allocator) |