Returns the number of elements within the map. 返回目前map中的数据总量
()
| 140 | // Returns the number of elements within the map. |
| 141 | // 返回目前map中的数据总量 |
| 142 | func (m ConcurrentHashMap) Count() uint64 { |
| 143 | return m.NowKeyNumber |
| 144 | } |
| 145 | |
| 146 | // Looks up an item under specified key |
| 147 | func (m ConcurrentHashMap) Has(key string) bool { |