Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TStack

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Pointer Stack.

Declaration

Source position: contnrs.pp line 159

type TStack = class(TOrderedList)

end;

Inheritance

TStack

  

Pointer Stack.

|

TOrderedList

  

Base class for queues and stacks.

|

TObject

Description

TStack is a descendent of TOrderedList which implements Push and Pop behaviour as a stack: what is last pushed on the stack, is popped of first (LIFO: Last in, first out).

TStack offers no new methods, it merely implements some abstract methods introduced by TOrderedList

See also

TOrderedList

  

Base class for queues and stacks.

TObjectStack

  

Object instances stack.

TQueue

  

Pointer queue.


Documentation generated on: Dec 26 2024