A First-In-First-Out (FIFO) data structure. The first element added to the queue will be the first one to be removed.
This base class only allows the following operations:
peek()
push()
pop()
T : the type of items in this Queue
Rest
Protected
Readonly
A First-In-First-Out (FIFO) data structure. The first element added to the queue will be the first one to be removed.
This base class only allows the following operations:
peek()
: inspect the first item without removing itpush()
: append an item to the queuepop()
: remove the first item from the queueTypeparam
T : the type of items in this Queue