Class TQueue
Unit
Generics.Collections
Declaration
type TQueue<T> = class(TCustomList<T>)
Description
No description available, ancestor TCustomList description follows
More info: http://stackoverflow.com/questions/5232198/about-vectors-growth TODO: custom memory managers (as constraints) ˜approximation to golden ratio: n = n * 1.5 } {$DEFINE CUSTOM_LIST_CAPACITY_INC := Result * 2} // standard inc
Hierarchy
Overview
Internal Classes and Records
Fields
Methods
Description
Fields
 |
FLow: SizeInt; |
|
Methods
 |
function DoGetEnumerator: TEnumerator<T>; override; |
bug #24287 - workaround for generics type name conflict (Identifier not found) next bug workaround - for another error related to previous workaround change order (function must be declared before TEnumerator declaration}
|
 |
procedure SetCapacity(AValue: SizeInt); override; |
|
 |
function GetCount: SizeInt; override; |
|
 |
constructor Create(ACollection: TEnumerable<T>); overload; |
|
 |
destructor Destroy; override; |
|
 |
procedure Enqueue(constref AValue: T); |
|
 |
function Dequeue: T; |
|
 |
function Extract: T; |
|
 |
function Peek: T; |
|
 |
procedure Clear; |
|
 |
procedure TrimExcess; override; |
|
Generated by PasDoc 0.15.0.
|