API:System.Generics.Collections.TObjectQueue.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwnsObjects: Boolean = True); overload;
constructor Create(const Collection: TEnumerable<T>; AOwnsObjects: Boolean = True); overload;

C++

__fastcall TObjectQueue__1(bool AOwnsObjects)/* overload */;
__fastcall TObjectQueue__1(TEnumerable__1<T>* const Collection, bool AOwnsObjects)/* overload */;
/* {System_Generics_Collections}TQueue<System_Generics_Collections_TObjectQueue<T>_T>.Create */ inline __fastcall TObjectQueue__1(void)/* overload */ : TQueue__1<T>() { }
/* {System_Generics_Collections}TQueue<System_Generics_Collections_TObjectQueue<T>_T>.Create */ inline __fastcall TObjectQueue__1(TEnumerable__1<T>* const Collection)/* overload */ : TQueue__1<T>(Collection) { }

Properties

Type Visibility Source Unit Parent
constructor public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TObjectQueue

Description

Create queue.

System.Generics.Collections.TObjectQueue.Create inherits from System.Generics.Collections.TQueue.Create. All content below this line refers to System.Generics.Collections.TQueue.Create.

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.

See Also