/**
* Gets the size of the hash table
* @return current size of the hash table
*/
size_t GetSize();
英语比较差,不知道这个是表达什么意思
1
kilasuelika 2020 年 10 月 28 日 via Android 一般是 k-v 对
|
2
mazyi PRO 看源码
|
4
Procumbens 2020 年 10 月 28 日
C++
size(): Return container size - Returns the number of elements in the unordered_map container. Java size(): Returns the number of key-value mappings in this map. |
5
icyalala 2020 年 10 月 28 日 一般来说 size 就是 k-v pair 的数量,capacity 指 bucket 数量。
|