81 class(PtrHashTableIteratorType) :: this
83 type(KeyValueListType),
pointer :: bucket
84 integer(I4B) :: bucket_index
88 if (.not. this%current_bucket_iterator%has_next())
then
89 do bucket_index = this%curent_bucket_index + 1,
size(this%buckets)
90 bucket => this%buckets(bucket_index)
91 if (bucket%count() > 0)
then
92 deallocate (this%current_bucket_iterator)
93 allocate (this%current_bucket_iterator, source=bucket%iterator())
94 this%curent_bucket_index = bucket_index
100 call this%current_bucket_iterator%next()