ListIterator< T > Class Template Reference
#include <iterator.h>
List of all members.
Detailed Description
template<typename T>
class ListIterator< T >
Implements a bidirectional iterator for List.
- Author:
- Mark Maloof
- Version:
- 1.0, 3/25/10
Constructor & Destructor Documentation
Member Function Documentation
Returns true if this iterator has a next object.
- Returns:
- true if this iterator has a next object; false otherwise.
Returns true if this iterator has a previous object.
- Returns:
- true if this iterator has a previous object; false otherwise.
Returns a reference to the next object in this iterator.
- Returns:
- a reference to the next object
- Exceptions:
-
Returns a reference to the previous object in this iterator.
- Returns:
- a reference to the previous object
- Exceptions:
-
A utility method that prints the internal state of this iterator.
Sets the object at the position of this iterator to the specified object.
- Parameters:
-
| object | the object to be set |
The documentation for this class was generated from the following file: