|
Methods defined here:
- __init__(self, capacity)
- Initialize self. See help(type(self)) for accurate signature.
- capacity(self)
- returns the capacity of the queue
- dequeue(self)
- removes and returns item at front of the queue
- enqueue(self, item)
- add item to the back of the queue
- front(self)
- returns item at the front of the queue
- isfull(self)
- returns whether the queue is at capacity (a Boolean)
- size(self)
- returns number of items in queue
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|