Queue Data Structure Class
Category:Lists, Collections and Arrays
Version Compatibility: Visual Basic 6
A queue (pronounced /kju/) is a particular kind of collection in which the entities in the collection are kept in order and the principal (or only) operations on the collection are the addition of entities to the rear terminal position and removal of entities from the front terminal position. This makes the queue a First-In-First-Out (FIFO) data structure. In a FIFO data structure, the first element added to the queue will be the first one to be removed. This is equivalent to the requirement that whenever an element is added, all elements that were added before have to be removed before the new element can be invoked. A queue is an example of a linear data structure. http://en.wikipedia.org/wiki/Queue_(data_structure)
Instructions: Copy the declarations and code below and paste directly into your VB project.