Module search :: Class Queue
[frames] | no frames]

Class Queue

Simple implementation of queue using a Python list.

Instance Methods
 
__init__(self)
Create a new empty queue
 
push(self, item)
Push item onto the queue.
 
pop(self)
Return the oldest item that has not yet been popped, and removes it from the queue.
 
isEmpty(self)
Returns True if the queue is empty and False otherwise.
 
__str__(self)