C# Class LitDev.LDQueue

Exibir arquivo Open project: litdev1/LitDev

Public Methods

Method Description
Dequeue ( Primitive queueName ) : Primitive

Remove (and get) the value from the front of the specified queue.

Enqueue ( Primitive queueName, Primitive value ) : void

Adds a value to the end of the specified queue.

GetCount ( Primitive queueName ) : Primitive

Gets the count of items in the specified queue.

Method Details

Dequeue() public static method

Remove (and get) the value from the front of the specified queue.
public static Dequeue ( Primitive queueName ) : Primitive
queueName Primitive /// The name of the queue. ///
return Primitive

Enqueue() public static method

Adds a value to the end of the specified queue.
public static Enqueue ( Primitive queueName, Primitive value ) : void
queueName Primitive /// The name of the queue. ///
value Primitive /// The value to enqueue. ///
return void

GetCount() public static method

Gets the count of items in the specified queue.
public static GetCount ( Primitive queueName ) : Primitive
queueName Primitive /// The name of the queue. ///
return Primitive