/**
* Gets the size of the hash table
* @return current size of the hash table
*/
size_t GetSize();
英语比较差,不知道这个是表达什么意思
/**
* Gets the size of the hash table
* @return current size of the hash table
*/
size_t GetSize();
英语比较差,不知道这个是表达什么意思
1
kilasuelika Oct 28, 2020 via Android 一般是 k-v 对
|
2
bigdogbigpig PRO 看源码
|
4
Procumbens Oct 28, 2020
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 Oct 28, 2020 一般来说 size 就是 k-v pair 的数量,capacity 指 bucket 数量。
|
6
bigdogbigpig PRO @zxCoder 那就更好了,看别的语言的实现
|