[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[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. |
|
| | ||
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 |
|
lazarus-ccr.sourceforge.net |