C# Class FixedSizedQueue, code

Inheritance: Queue
Mostrar archivo Open project: shendongnian/code Class Usage Examples

Public Methods

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

returns the current snapshot of the queue

Private Methods

Method Description
EnsureLimitConstraint ( ) : void

Method Details

Enqueue() public method

public Enqueue ( obj ) : void
return void

FixedSizedQueue() public method

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

GetSnapshot() public method

returns the current snapshot of the queue
public GetSnapshot ( ) : T[],
return T[],