Lean  $LEAN_TAG$
QuantConnect.Util.FixedSizeQueue< T > Class Template Reference

Helper method for a limited length queue which self-removes the extra elements. http://stackoverflow.com/questions/5852863/fixed-size-queue-which-automatically-dequeues-old-values-upon-new-enques More...

Inheritance diagram for QuantConnect.Util.FixedSizeQueue< T >:
[legend]

Public Member Functions

 FixedSizeQueue (int limit)
 Create a new fixed length queue: More...
 
new void Enqueue (T item)
 Enqueue a new item int the generic fixed length queue: More...
 

Properties

int Limit [get, set]
 Max Length More...
 

Detailed Description

Helper method for a limited length queue which self-removes the extra elements. http://stackoverflow.com/questions/5852863/fixed-size-queue-which-automatically-dequeues-old-values-upon-new-enques

Template Parameters
TThe type of item the queue holds

Definition at line 25 of file FixedSizeQueue.cs.

Constructor & Destructor Documentation

◆ FixedSizeQueue()

Create a new fixed length queue:

Definition at line 41 of file FixedSizeQueue.cs.

Member Function Documentation

◆ Enqueue()

new void QuantConnect.Util.FixedSizeQueue< T >.Enqueue ( item)

Enqueue a new item int the generic fixed length queue:

Definition at line 50 of file FixedSizeQueue.cs.

Property Documentation

◆ Limit

int QuantConnect.Util.FixedSizeQueue< T >.Limit
getset

Max Length

Definition at line 33 of file FixedSizeQueue.cs.


The documentation for this class was generated from the following file: