This is really dependent how your queue is implemented. Unfortunately, working from the outside of a queue, this is usually impossible without removing all elements from the queue.
while !queue.isEmpty() print queue.dequeue()
Copyright © 2026 eLLeNow.com All Rights Reserved.