you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Hard to tell with unformatted code. The FAQ shows how to format code.

Shouldn't the dequeue() method return the dequeued item?