C# Class FixedSizedQueue, code

Inheritance: Queue
Afficher le fichier Open project: shendongnian/code Class Usage Examples

Méthodes publiques

Méthode Description
Enqueue ( obj ) : void
FixedSizedQueue ( int maxSize, IEnumerable, items = null )
GetSnapshot ( ) : T[],

returns the current snapshot of the queue

Private Methods

Méthode Description
EnsureLimitConstraint ( ) : void

Method Details

Enqueue() public méthode

public Enqueue ( obj ) : void
Résultat void

FixedSizedQueue() public méthode

public FixedSizedQueue ( int maxSize, IEnumerable, items = null )
maxSize int
items IEnumerable,

GetSnapshot() public méthode

returns the current snapshot of the queue
public GetSnapshot ( ) : T[],
Résultat T[],