Class TGenQueue

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type generic TGenQueue<_TItem_,_TContainer_> = class(TContainer)

Description

no description available, TContainer description follows

Hierarchy

Overview

Methods

Public procedure Append(const Item: _TItem_);
Public procedure Clear;
Public constructor Create;
Public destructor Destroy; override;
Public function Front : _TItem_;
Public function IsEmpty: Boolean; inline;
Public procedure Pop;
Public procedure ReadFront(out Value: _TItem_);

Properties

Public property Size : Integer read GetSize;

Description

Methods

Public procedure Append(const Item: _TItem_);

Add the item to the back of the queue.

Public procedure Clear;

Empty the queue of all items.

Public constructor Create;

Creates an empty queue.

Public destructor Destroy; override;

Destroys the container.

Public function Front : _TItem_;

Returns a copy of the item at the front of the queue.

Public function IsEmpty: Boolean; inline;

Returns true if the queue is empty.

Public procedure Pop;

Removes the item from the front of the queue.

Public procedure ReadFront(out Value: _TItem_);
 

Properties

Public property Size : Integer read GetSize;

Number of items.


Generated by PasDoc 0.13.0 on 2014-07-29 16:12:40