#include <array1d.h>
Public Member Functions | |
Iterator (void) | |
virtual T | next (void) throw (OutOfBoundsException) |
virtual bool | hasNext (void) |
virtual void | reset (void) |
seal::Array1D< T >::Iterator::Iterator | ( | void | ) | [inline] |
Default constructor.
T seal::Array1D< T >::Iterator::next | ( | void | ) | throw (OutOfBoundsException) [inline, virtual] |
Returns the next element in the array. Throws an OutOfBoundsException
when an element beyond the limits of the array is requested.
Implements seal::AbstractIterator< T >.
bool seal::Array1D< T >::Iterator::hasNext | ( | void | ) | [inline, virtual] |
Returns true if there exists a next element. Else, returns false.
Implements seal::AbstractIterator< T >.
void seal::Array1D< T >::Iterator::reset | ( | void | ) | [inline, virtual] |
Resets the iterator so that the next element is now the first element of the array.
Implements seal::AbstractIterator< T >.