For use with CMSC-341, Spring 99, Project 2 Here is the definition of the ArrayListIterator class. Copy it to your ArrayListIterator.H file. Remember: -- guard the file -- complete the documentation ------------------------------------------------ /* Iterators over ArrayLists. Forward and reverse iterators can be chosen by argument to the constructor. Author: Thomas Anastasio Version: 6 February 1999 */ template class ArrayListIterator : public ListIterator { public: ArrayListIterator(ArrayList* lst, int direction); // Accessor for the next element // Return: the next available element and advance the iteration // Precondition: It is an error to call this method when there // is no next element (i.e. when HasNext() is false) // Enforced by an assertion. T Next(); };