System.Contnrs.TObjectStack

From RAD Studio API Documentation

TObjectStackSystem.Contnrs.TStackSystem.Contnrs.TOrderedListSystem.TObject

Delphi

TObjectStack = class(TStack)

C++

class PASCALIMPLEMENTATION TObjectStack : public TStack

Properties

Type Visibility Source Unit Parent
class public
System.Contnrs.pas
System.Contnrs.hpp
System.Contnrs System.Contnrs

Description

TObjectStack maintains a last-in first-out list of objects.

Use TObjectStack to store and maintain a last-in first-out list of objects.

Note: It is recommended to use System.Generics.Collections.TObjectStack, which is the generic version of this class, as it offers a more modern coding style.

See Also

Code Examples