System.Generics.Collections.TQueue.Create
Delphi
constructor Create; overload;
constructor Create(const Collection: TEnumerable<T>); overload;
C++
__fastcall TQueue__1()/* overload */;
__fastcall TQueue__1(TEnumerable__1<T>* const Collection)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TQueue |
Description
Create queue.
This method creates and initializes a TQueue instance. Each item in collection Collection is added to the end of the queue (enqueued) in the same order as in Collection.