22 template<
class Key,
class T,
class Compare >
25 auto [iter, success] = this->insert(
valueType(k,v));
29 template<
class Key,
class T,
class Compare >
32 auto [iter, success] = this->insert
39 template<
class Key,
class T,
class Compare >
42 auto [iter, found] = findIf(k);
46 template<
class Key,
class T,
class Compare >
47 std::pair<typename pFlow::hashMap<Key, T, Compare>::iterator,
bool>
50 if(
auto iter = this->
find(k); iter!= this->end() )
56 template<
class Key,
class T,
class Compare >
57 const std::pair<typename pFlow::hashMap<Key, T, Compare>::constIterator,
bool>
60 if(
auto iter = this->
find(k); iter!= this->end() )
68 inline iOstream&
printKeys(iOstream& os,
const wordHashMap<T> &
m)
71 return os<<
"wordHashMap is empty"<<
endl;
73 for(
auto iter =
m.cbegin(); iter !=
m.cend(); iter++ )
75 os << iter->first<<
endl;
83 inline iOstream&
printKeys(iOstream& os,
const uint64HashMap<T> &
m)
86 return os<<
"labelHashMap is empty"<<
endl;
90 os << iter->first<<
endl;
97 inline iOstream&
printKeys(iOstream& os,
const uint32HashMap<T> &
m)
100 return os<<
"uint32HashMap is empty"<<
endl;
104 os << iter->first<<
endl;
111 inline iOstream&
printKeys(iOstream& os,
const int64HashMap<T> &
m)
114 return os<<
"int64HashMap is empty"<<
endl;
118 os << iter->first<<
endl;
126 inline iOstream&
printKeys(iOstream& os,
const int32HashMap<T> &
m)
129 return os<<
"int32HashMap is empty"<<
endl;
133 os << iter->first<<
endl;