[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'contnrs' (#fcl) |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Object instances stack
Source position: contnrs.pp line 156
type TObjectStack = class(TStack) |
||
public |
||
function Push(); |
|
Push an object on the stack. |
function Pop; |
|
Pop the top object of the stack. |
function Peek; |
|
Look at the top object in the stack. |
end; |
|
Object instances stack |
|
| | ||
|
Pointer Stack |
|
| | ||
|
Base class for queues and stacks. |
|
| | ||
TObject |
TObjectStack is a stack implementation which manages pointers only.
TObjectStack introduces no new behaviour, it simply overrides some methods to accept and/or return TObject instances instead of pointers.
|
Base class for queues and stacks. |
|
|
Pointer Stack |
|
|
Pointer queue |
|
No notes exist for this page yet.