#include <coherence/util/TypedCollections.hpp>
Inherits WrapperCollections::AbstractWrapperIterator.
Public Types | |
typedef spec::Handle | Handle |
TypedIterator<T> Handle definition. | |
typedef spec::View | View |
TypedIterator<T> View definition. | |
typedef spec::Holder | Holder |
TypedIterator<T> Holder definition. | |
typedef T | ValueType |
The type of the handles returned by this iterator, e.g. | |
Public Member Functions | |
virtual ValueType | nextTyped () |
The typed version of the method Iterator::next. | |
Protected Member Functions | |
TypedIterator (Iterator::Handle hIterDelegate) | |
Create a new TypedIterator over the given Iterator. | |
TypedIterator (const TypedIterator &that) | |
Copy constructor. |
typedef T ValueType |
The type of the handles returned by this iterator, e.g.
TypedIterator | ( | Iterator::Handle | hIterDelegate | ) | [inline, protected] |
Create a new TypedIterator over the given Iterator.
hIterDelegate | a general "Object" Iterator to wrap around |
virtual ValueType nextTyped | ( | ) | [inline, virtual] |
The typed version of the method Iterator::next.
Return the next element in the iteration.
coherence::lang::NoSuchElementException | if iteration has no more elements. | |
ClassCastException | if the typed collection is broken by external usage |