[Overview][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

TStack

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

Pointer Stack

Declaration

Source position: contnrs.pp line 149

type TStack = class(TOrderedList)

end;

Inheritance

TStack

  

Pointer Stack

|

TOrderedList

  

Base class for queues and stacks.

|

TObject

Description

TStackis a descendent of TOrderedListwhich implements Pushand Popbehaviour as a stack: what is last pushed on the stack, is popped of first (LIFO: Last in, first out).

TStackoffers 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