FastLED 3.9.15
|
Definition at line 12 of file hash_set.h.
#include <hash_set.h>
Public Types | |
using | Base = HashMap<Key, bool, Hash, KeyEqual> |
using | const_iterator = typename Base::const_iterator |
using | iterator = typename Base::iterator |
Public Member Functions | |
HashSet (size_t initial_capacity=8, float max_load=0.7f) | |
void | erase (const Key &key) |
iterator | find (const Key &key) |
void | insert (const Key &key) |
![]() | |
HashMap (size_t initial_capacity=FASTLED_HASHMAP_INLINED_COUNT, float max_load=0.7f) | |
iterator | begin () |
const_iterator | begin () const |
size_t | capacity () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
void | clear () |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
bool | erase (const Key &key) |
iterator | find (const Key &key) |
const_iterator | find (const Key &key) const |
T * | find_value (const Key &key) |
const T * | find_value (const Key &key) const |
void | insert (const Key &key, const T &value) |
bool | needs_rehash () const |
T & | operator[] (const Key &key) |
bool | remove (const Key &key) |
void | setLoadFactor (float f) |
size_t | size () const |
Additional Inherited Members | |
![]() | |
static bool | NeedsRehash (size_t size, size_t bucket_size, size_t tombstones, uint8_t load_factor) |