|
Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
Public Types | |
| typedef bool(* | comparator) (K, K) |
Public Member Functions | |
| HashMap (comparator compare=0) | |
| unsigned int | count () const |
| K | keyAt (unsigned int idx) const |
| V | valueAt (unsigned int idx) const |
| const V & | operator[] (const K key) const |
| V & | operator[] (const K key) |
| void | allocate (int newSize) |
| unsigned int | indexOf (K key) const |
| bool | contains (K key) const |
| void | remove (K key) |
| void | clear () |
| void | setMultiple (const HashMap< K, V > &map) |
| void | setNullValue (V nullv) |
Protected Attributes | |
| K ** | keys |
| V ** | values |
| V | nil |
| int16_t | currentIndex |
| int16_t | size |
| comparator | cb_comparator |