Generic Queue ------------- This is a queue implemented dynamically as a list with a front and rear with methods enqueue, dequeue, size, isEmpty and peek. The queue is generic, and can be constructed for any class. The queue throws exceptions when dequeue or peek on empty queue The queue is iterable so we can then do for (E x : Q) ... Patrick Prosser 17/01/2012