Lines Matching refs:Iterator
63 class Iterator {
65 Iterator(const Iterator&) = default;
66 Iterator(HashSet* hash_set, size_t index) : hash_set_(hash_set), index_(index) { in Iterator() function
68 Iterator& operator=(const Iterator&) = default;
69 bool operator==(const Iterator& other) const {
72 bool operator!=(const Iterator& other) const {
75 Iterator operator++() { // Value after modification.
79 Iterator operator++(int) {
80 Iterator temp = *this;
160 Iterator begin() { in begin()
161 Iterator ret(this, 0); in begin()
168 Iterator end() { in end()
169 return Iterator(this, NumBuckets()); in end()
182 Iterator Erase(Iterator it) { in Erase()
232 Iterator Find(const K& element) { in Find()
236 Iterator FindWithHash(const K& element, size_t hash) { in FindWithHash()
245 return Iterator(this, index); in FindWithHash()
402 friend class Iterator; variable