TStack<T>

Overview

Location

 

constructor

 

constructor

 

TStack<T>()

 

init()

 

TStack<T>()

 

Sub New()

constructor (TEnumerable<T>)

 

constructor(Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

 

init(_ Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

 

Sub New(Collection As TEnumerable<T>)

Parameters:

  • Collection:

AfterConstruction  virtual    (declared in TDelphiObject)

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

BeforeDestruction  virtual    (declared in TDelphiObject)

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

Capacity  virtual

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

var Capacity: Int32 { get{} set{} }

 

Integer Capacity { __get; __set; }

 

Property Capacity() As Int32

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

close  final    (declared in TDelphiObject) Cooper

 

method close

 

void close()

 

func close()

 

void close()

 

Sub close()

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

 

ReadOnly Property Count() As Int32

countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects aStackbuf: UnsafeMutablePointer<T>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • aStackbuf:
  • len:

Create  virtual

 

class method Create: TStack<T>

 

static TStack<T> Create()

 

static func Create() -> TStack<T>

 

static TStack<T> Create()

 

Shared Function Create() As TStack<T>

Create (TEnumerable<T>): TStack<T>  virtual

 

class method Create(Collection: TEnumerable<T>): TStack<T>

 

static TStack<T> Create(TEnumerable<T> Collection)

 

static func Create(_ Collection: TEnumerable<T>) -> TStack<T>

 

static TStack<T> Create(TEnumerable<T> Collection)

 

Shared Function Create(Collection As TEnumerable<T>) As TStack<T>

Parameters:

  • Collection:

Destroy  virtual    (declared in TDelphiObject)

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Dispose    (declared in TDelphiObject) Island

 

method Dispose

 

void Dispose()

 

func Dispose()

 

Sub Dispose()

DoGetEnumerator  protected    (declared in TEnumerable<T>) .NET

 

method DoGetEnumerator: TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

func DoGetEnumerator() -> TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

Function DoGetEnumerator() As TEnumerator<T>

Extract

 

method Extract: T

 

T Extract()

 

func Extract() -> T

 

T Extract()

 

Function Extract() As T

Finalize  protected    (declared in TDelphiObject) .NET

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Free  virtual    (declared in TDelphiObject)

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

Function GetEnumerator() As IEnumerator<T>

GetEnumerator    (declared in TEnumerable<T>) .NET

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

Function GetEnumerator() As IEnumerator<T>

GetMetaClass  override virtual .NET, Cooper, Island

 

method GetMetaClass: class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

func GetMetaClass() -> class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

Function GetMetaClass() As class of TDelphiObject

GetNonGenericEnumerator  protected    (declared in TEnumerable<T>) Island

 

method GetNonGenericEnumerator: IEnumerator

 

IEnumerator GetNonGenericEnumerator()

 

func GetNonGenericEnumerator() -> IEnumerator

 

Function GetNonGenericEnumerator() As IEnumerator

GetNonGenericEnumerator  protected    (declared in TEnumerable<T>) .NET

 

method GetNonGenericEnumerator: IEnumerator

 

IEnumerator GetNonGenericEnumerator()

 

func GetNonGenericEnumerator() -> IEnumerator

 

IEnumerator GetNonGenericEnumerator()

 

Function GetNonGenericEnumerator() As IEnumerator

GetSequence  protected override

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> INSFastEnumeration<T>

 

Iterable<T> GetSequence()

 

Function GetSequence() As IEnumerable<T>

iterator  final    (declared in TEnumerable<T>) Cooper

 

method iterator: Iterator<T>

 

Iterator<T> iterator()

 

func iterator() -> Iterator<T>

 

Iterator<T> iterator()

 

Function iterator() As Iterator<T>

Notify  protected virtual

 

method Notify(Item: T; Action: TCollectionNotification)

 

void Notify(T Item, TCollectionNotification Action)

 

func Notify(_ Item: T, _ Action: TCollectionNotification)

 

void Notify(T Item, TCollectionNotification Action)

 

Sub Notify(Item As T, Action As TCollectionNotification)

Parameters:

  • Item:
  • Action:

OnNotify  virtual

 

property OnNotify: TCollectionNotifyEvent<T> read write;

 

TCollectionNotifyEvent<T> OnNotify { get; set; }

 

var OnNotify: TCollectionNotifyEvent<T> { get{} set{} }

 

TCollectionNotifyEvent<T> OnNotify { __get; __set; }

 

Property OnNotify() As TCollectionNotifyEvent<T>

Peek  virtual

 

method Peek: T

 

T Peek()

 

func Peek() -> T

 

T Peek()

 

Function Peek() As T

Pop  virtual

 

method Pop: T

 

T Pop()

 

func Pop() -> T

 

T Pop()

 

Function Pop() As T

Push  virtual

 

method Push(Value: T)

 

void Push(T Value)

 

func Push(_ Value: T)

 

void Push(T Value)

 

Sub Push(Value As T)

Parameters:

  • Value:

ToArray  override

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

 

Function ToArray() As T()

TrimExcess

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

 

Sub TrimExcess()

 

Capacity  virtual

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

var Capacity: Int32 { get{} set{} }

 

Integer Capacity { __get; __set; }

 

Property Capacity() As Int32

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

 

ReadOnly Property Count() As Int32

OnNotify  virtual

 

property OnNotify: TCollectionNotifyEvent<T> read write;

 

TCollectionNotifyEvent<T> OnNotify { get; set; }

 

var OnNotify: TCollectionNotifyEvent<T> { get{} set{} }

 

TCollectionNotifyEvent<T> OnNotify { __get; __set; }

 

Property OnNotify() As TCollectionNotifyEvent<T>

 

Create  virtual

 

class method Create: TStack<T>

 

static TStack<T> Create()

 

static func Create() -> TStack<T>

 

static TStack<T> Create()

 

Shared Function Create() As TStack<T>

Create (TEnumerable<T>): TStack<T>  virtual

 

class method Create(Collection: TEnumerable<T>): TStack<T>

 

static TStack<T> Create(TEnumerable<T> Collection)

 

static func Create(_ Collection: TEnumerable<T>) -> TStack<T>

 

static TStack<T> Create(TEnumerable<T> Collection)

 

Shared Function Create(Collection As TEnumerable<T>) As TStack<T>

Parameters:

  • Collection:

 

constructor

 

constructor

 

TStack<T>()

 

init()

 

TStack<T>()

 

Sub New()

constructor (TEnumerable<T>)

 

constructor(Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

 

init(_ Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

 

Sub New(Collection As TEnumerable<T>)

Parameters:

  • Collection:

AfterConstruction  virtual    (declared in TDelphiObject)

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

BeforeDestruction  virtual    (declared in TDelphiObject)

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

close  final    (declared in TDelphiObject) Cooper

 

method close

 

void close()

 

func close()

 

void close()

 

Sub close()

countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

 

func countByEnumeratingWithState(_ aState: UnsafeMutablePointer<NSFastEnumerationState>, objects aStackbuf: UnsafeMutablePointer<T>, count len: NSUInteger) -> NSUInteger

Parameters:

  • aState:
  • aStackbuf:
  • len:

Destroy  virtual    (declared in TDelphiObject)

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Dispose    (declared in TDelphiObject) Island

 

method Dispose

 

void Dispose()

 

func Dispose()

 

Sub Dispose()

DoGetEnumerator  protected    (declared in TEnumerable<T>) .NET

 

method DoGetEnumerator: TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

func DoGetEnumerator() -> TEnumerator<T>

 

TEnumerator<T> DoGetEnumerator()

 

Function DoGetEnumerator() As TEnumerator<T>

Extract

 

method Extract: T

 

T Extract()

 

func Extract() -> T

 

T Extract()

 

Function Extract() As T

Finalize  protected    (declared in TDelphiObject) .NET

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Free  virtual    (declared in TDelphiObject)

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

Function GetEnumerator() As IEnumerator<T>

GetEnumerator    (declared in TEnumerable<T>) .NET

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

Function GetEnumerator() As IEnumerator<T>

GetMetaClass  override virtual .NET, Cooper, Island

 

method GetMetaClass: class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

func GetMetaClass() -> class of TDelphiObject

 

class of TDelphiObject GetMetaClass()

 

Function GetMetaClass() As class of TDelphiObject

GetNonGenericEnumerator  protected    (declared in TEnumerable<T>) Island

 

method GetNonGenericEnumerator: IEnumerator

 

IEnumerator GetNonGenericEnumerator()

 

func GetNonGenericEnumerator() -> IEnumerator

 

Function GetNonGenericEnumerator() As IEnumerator

GetNonGenericEnumerator  protected    (declared in TEnumerable<T>) .NET

 

method GetNonGenericEnumerator: IEnumerator

 

IEnumerator GetNonGenericEnumerator()

 

func GetNonGenericEnumerator() -> IEnumerator

 

IEnumerator GetNonGenericEnumerator()

 

Function GetNonGenericEnumerator() As IEnumerator

GetSequence  protected override

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> INSFastEnumeration<T>

 

Iterable<T> GetSequence()

 

Function GetSequence() As IEnumerable<T>

iterator  final    (declared in TEnumerable<T>) Cooper

 

method iterator: Iterator<T>

 

Iterator<T> iterator()

 

func iterator() -> Iterator<T>

 

Iterator<T> iterator()

 

Function iterator() As Iterator<T>

Notify  protected virtual

 

method Notify(Item: T; Action: TCollectionNotification)

 

void Notify(T Item, TCollectionNotification Action)

 

func Notify(_ Item: T, _ Action: TCollectionNotification)

 

void Notify(T Item, TCollectionNotification Action)

 

Sub Notify(Item As T, Action As TCollectionNotification)

Parameters:

  • Item:
  • Action:

Peek  virtual

 

method Peek: T

 

T Peek()

 

func Peek() -> T

 

T Peek()

 

Function Peek() As T

Pop  virtual

 

method Pop: T

 

T Pop()

 

func Pop() -> T

 

T Pop()

 

Function Pop() As T

Push  virtual

 

method Push(Value: T)

 

void Push(T Value)

 

func Push(_ Value: T)

 

void Push(T Value)

 

Sub Push(Value As T)

Parameters:

  • Value:

ToArray  override

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

 

Function ToArray() As T()

TrimExcess

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

 

Sub TrimExcess()