Class TGenStack
Unit
GContnrs
Declaration
type generic TGenStack<_TItem_,_TContainer_> = class(TContainer)
Description
no description available, TContainer description follows Hierarchy
Overview
Methods
 |
procedure Clear; |
 |
constructor Create; |
 |
destructor Destroy; override; |
 |
function IsEmpty: Boolean; inline; |
 |
procedure Pop; |
 |
procedure Push(const Item: _TItem_); |
 |
procedure ReadTop(out Value : _TItem_); |
 |
function Top : _TItem_; |
Properties
 |
property Size : Integer read GetSize; |
Description
Methods
 |
procedure Clear; |
Removes all the items from the stack.
|
 |
constructor Create; |
Creates an empty stack.
|
 |
destructor Destroy; override; |
Destroys the stack.
|
 |
function IsEmpty: Boolean; inline; |
Returns true if the stack is empty.
|
 |
procedure Pop; |
Removes the item from the top of the stack.
|
 |
procedure Push(const Item: _TItem_); |
Adds Item to the top of the stack.
|
 |
procedure ReadTop(out Value : _TItem_); |
|
 |
function Top : _TItem_; |
Returns the item at the top of the stack.
|
Properties
 |
property Size : Integer read GetSize; |
Number of items.
|
Generated by PasDoc 0.13.0 on 2014-07-29 16:12:40
|