| 360 | } |
| 361 | |
| 362 | inline void HashTable::Iterator::Next() { |
| 363 | DCHECK(!AtEnd()); |
| 364 | if (table_->stores_duplicates() && table_->buckets_[bucket_idx_].HasDuplicates() |
| 365 | && node_->Next() != NULL) { |
| 366 | node_ = node_->Next(); |
| 367 | } else { |
| 368 | table_->NextFilledBucket(&bucket_idx_, &node_); |
| 369 | } |
| 370 | } |
| 371 | |
| 372 | inline void HashTable::Iterator::NextDuplicate() { |
| 373 | DCHECK(!AtEnd()); |