Last Updated: June 6, 2026
A Queue is a collection that orders elements for processing, with the most common ordering being first-in-first-out (FIFO). Think of an order processing pipeline: the order placed first is the order processed first. This lesson covers what Queue adds on top of Collection, the two parallel families of methods it defines (one that throws, one that returns a special value), why both families exist, and where the major sub-interfaces fit in the rest of this section.