V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy > Class Template Reference

Public Types

typedef TemplateHashMapEntry< Key, ValueEntry
 

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())
 
EntryLookup (const Key &key, uint32_t hash) const
 
EntryLookupOrInsert (const Key &key, uint32_t hash, AllocationPolicy allocator=AllocationPolicy())
 
template<typename Func >
EntryLookupOrInsert (const Key &key, uint32_t hash, const Func &value_func, AllocationPolicy allocator=AllocationPolicy())
 
EntryInsertNew (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
 
EntryStart () const
 
EntryNext (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)
 

Detailed Description

template<typename Key, typename Value, class MatchFun, class AllocationPolicy>
class v8::base::TemplateHashMapImpl< Key, Value, MatchFun, AllocationPolicy >

Definition at line 28 of file hashmap.h.


The documentation for this class was generated from the following file: