class documentation
class LinkedCircularQueue:
Queue implementation using circularly linked list for storage.
Method | __init__ |
Create an empty queue. |
Method | __len__ |
Return the number of elements in the queue. |
Method | dequeue |
Remove and return the first element of the queue (i.e., FIFO). |
Method | enqueue |
Add an element to the back of queue. |
Method | first |
Return (but do not remove) the element at the front of the queue. |
Method | is |
Return True if the queue is empty. |
Method | rotate |
Rotate front element to the back of the queue. |
Class | _ |
Lightweight, nonpublic class for storing a singly linked node. |
Instance Variable | _size |
Undocumented |
Instance Variable | _tail |
Undocumented |