Never mind. Reading the code more carefully, I see that
NAHashDictionaryIterator<K,V> has two flavors. If you call its constructor
with null pointers for key and value, it iterates over the entire hash
table. If you call its constructor with a non-null pointer to a key and
value, it iterates over the hash bucket for that key. So, there is a flavor
that does what I need.
*From:* Dave Birdsall [mailto:dave.birds...@esgyn.com]
*Sent:* Monday, October 17, 2016 1:05 PM
*To:* 'firstname.lastname@example.org' <
*Subject:* Iterating through NAHashDictionary?
I need to iterate through the entries in an NAHashDictionary. There is an
NAHashDictionaryIterator in common/Collections.h, but unfortunately it only
iterates through values in one hash bucket for one key. I need to iterate
through the entire hash table.
Does anyone know of examples in the Trafodion code where this has been
If not, I’ll create an iterator and add it to common/Collections.h.