Lines Matching refs:Iterator
75 class Iterator {
77 Iterator() = default;
78 ~Iterator() = default;
79 explicit Iterator(LinkNode<Key, Val> *pnode, HashList *phashList);
80 explicit Iterator(const LinkNode<Key, Val> *pnode, const HashList *phashList);
81 Iterator(const Iterator &itr);
82 Iterator(Iterator &&itr);
83 Iterator &operator=(const Iterator &itr);
84 Iterator &operator=(Iterator &&itr);
85 Iterator &operator++() noexcept;
86 Iterator operator++(int) noexcept;
87 Iterator &operator--() noexcept;
88 Iterator operator--(int) noexcept;
89 bool operator<(const Iterator &itr) const noexcept;
90 bool operator==(const Iterator &itr) const noexcept;
95 void swap(HashList<Key, Val>::Iterator &other);
181 Iterator begin();
182 const Iterator cbegin() const;
183 Iterator end();
184 const Iterator cend() const;
195 Iterator find(const Key &key);
203 Iterator erase(const Key &key);
204 Iterator erase(const Iterator pos);
205 Iterator erase(const Iterator first, const Iterator last);
210 bool MoveNode(const Iterator &pos, LinkNode<Key, Val> *&pnode);