#include <coherence/util/SafeHashMap.hpp>
Inherits AbstractStableIterator.
Public Types | |||||||
typedef spec::Handle | Handle | ||||||
EntrySetIterator Handle definition. | |||||||
typedef spec::View | View | ||||||
EntrySetIterator View definition. | |||||||
typedef spec::Holder | Holder | ||||||
EntrySetIterator Holder definition. | |||||||
Protected Member Functions | |||||||
EntrySetIterator (SafeHashMap::Holder ohMap) | |||||||
Construct an Iterator over the Entries in the SafeHashMap. | |||||||
virtual void | advance () | ||||||
Advance to the next object. | |||||||
virtual void | deactivate () const | ||||||
Shut down the Iterator. | |||||||
virtual void | remove (Object::Holder oh) | ||||||
Remove the specified item. This is an optional operation. If the Iterator supports element removal, then it should implement this method, which is delegated to by the remove() method.
|
EntrySetIterator | ( | SafeHashMap::Holder | ohMap | ) | [protected] |
Construct an Iterator over the Entries in the SafeHashMap.
Special care must be taken to handle the condition in which the SafeHashMap is currently resizing.
ohMap | the set to iterate |
virtual void deactivate | ( | ) | const [protected, virtual] |