This method returns an Iterator for the Queue in question. Both forward and reverse iteration are supported.
Iterator
Queue
it = aQueue$iterator()
iterator returns an instance of Iterator.
iterator
John Hughes