哈希表的 size 是指桶(bucket)的数量还是 k-v 对的数量呢?
資深大佬 : zxCoder 1
/** * Gets the size of the hash table * @return current size of the hash table */ size_t GetSize();
英语比较差,不知道这个是表达什么意思
大佬有話說 (6)
/** * Gets the size of the hash table * @return current size of the hash table */ size_t GetSize();
英语比较差,不知道这个是表达什么意思
Java
size(): Returns the number of key-value mappings in this map.