Skip to content

containers.Queue

containers · scripts/+containers/Queue.m

containers.Queue: first-in first-out (FIFO) queue.

Q = containers.Queue ()

Use ENQUEUE, DEQUEUE, PEEK, ISEMPTY and LENGTH. A Queue is a handle: copies of the variable refer to the same object.