return a the count of _unique_ elements in the vector
| 236 | |
| 237 | // return a the count of _unique_ elements in the vector |
| 238 | uint32_t KeyListOpsMethods::getCountDistinct() { |
| 239 | if (empty()) return 0; |
| 240 | |
| 241 | makeFreqMap(); |
| 242 | return _freqMap.size(); |
| 243 | } |
| 244 | |
| 245 | // return a delimiter-separated list of elements |
| 246 | const string &KeyListOpsMethods::getCollapse(const string &delimiter) { |