[Overview][Types][Classes][Index] Reference for unit 'LazCollections' (#lazutils)

TLazFifoQueue.create

Constructor for the class instance.

Declaration

Source position: lazcollections.pas line 69

public constructor TLazFifoQueue.create(

  AQueueDepth: Integer = 10

);

Arguments

AQueueDepth

  

Number of items allocated in the internal storage for the queue.

Description

Create is the constructor for the class instance, and calls Grow using the value in AQueueDepth as an argument. This sets the initial size for the internal queue storage to the specified number of entries.

See also

TLazFifoQueue.Grow

  

Resizes the internal storage for the queue by the specified Delta value.


Version 4.0 Generated 2025-05-03 Home