Top "Queue" questions

A queue is an ordered, first-in-first-out data structure.

What is the difference between the add and offer methods in a Queue in Java?

Take the PriorityQueue for example http://java.sun.com/j2se/1.5.0/docs/api/java/util/PriorityQueue.html#offer(E) Can …

java queue add
Queue ajax requests using jQuery.queue()

I am using jQuery.queue() for the first time and haven't quite grasped it. Could someone please point out what …

jquery ajax queue
Fixed size queue which automatically dequeues old values upon new enques

I'm using ConcurrentQueue for a shared data structure which purpose is holding the last N objects passed to it (kind …

c# queue fifo
What is the symbol for a queue?

In a flowchart or process diagram, what is the symbol for a FIFO queue?

queue diagram
What are practical applications of Queues?

What are practical applications of Queues in Computer Science. Where do we use them and why? I heard that we …

computer-science queue
Multiprocessing - Pipe vs Queue

What are the fundamental differences between queues and pipes in Python's multiprocessing package? In what scenarios should one choose one …

python performance queue multiprocessing pipe
Is there a fixed sized queue which removes excessive elements?

I need a queue with a fixed size. When I add an element and the queue is full, it should …

java queue
Python "FileExists" error when making directory

I have several threads running in parallel from Python on a cluster system. Each python thread outputs to a directory …

python file-io filesystems queue cluster-computing
Clear all items from the queue

How can I clear a queue. For example I have datas in a queue, but for some reason I don't …

python queue
How to clear a queue in Oracle AQ

I've been testing Oracle AQ for the first time. I have managed to create 2000 rows of test inserts into the …

oracle queue jms oracle-aq