Search
Queue Members
Constructors Methods
 


Represents a first-in, first-out collection of objects.

The following tables list the members exposed by the Queue type.

 Public Constructors

  Name Description

Queue

Initializes a new instance of the Queue class.

 Public Methods

  Name Description

dequeue

Removes and returns the object at the beginning of the queue.

enqueue

Adds an object to the end of the queue.

getSize

Gets the number of elements in the queue.

 See Also