C# Class LitDev.LDQueue

Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat Primitive

Enqueue() public static méthode

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. ///
Résultat void

GetCount() public static méthode

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