| 370 | } |
| 371 | |
| 372 | inline void HashTable::Iterator::NextDuplicate() { |
| 373 | DCHECK(!AtEnd()); |
| 374 | if (table_->stores_duplicates() && table_->buckets_[bucket_idx_].HasDuplicates() |
| 375 | && node_->Next() != NULL) { |
| 376 | node_ = node_->Next(); |
| 377 | } else { |
| 378 | bucket_idx_ = BUCKET_NOT_FOUND; |
| 379 | node_ = NULL; |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | inline void HashTable::Iterator::NextUnmatched() { |
| 384 | DCHECK(!AtEnd()); |