A Collection that mutates in a FIFO manner.
Removes first item from the queue and returns it. If there is no more elements in the queue, it throws an exception.
Removes first item from the queue and returns it. If there is no more elements in the queue, it returns null.
Puts an item at the end of the queue.
Transforms collection into Queue.