Collection - Queue (FIFO)

> (Data|State) Management and Processing > (Data Type|Data Structure) > (Collection|Container) Data Type (Array, List, Set, ...)

1 - About

A queue is collection that follows a first-in, first-out methodology. ie the the oldest element in the queue will be the first element to be retrieved.

If the queue has a fixed size (capacity), adding an element will delete the oldest one.

A stack follows the inverse methodology last-in, first-out (LIFO).


3 - Documentation / Reference