TStack<T>

Overview

Location

 

constructor .NET, Cooper, Island

 

constructor

 

TStack<T>()

 

init()

 

TStack<T>()

 

Sub New()

constructor init() Toffee

 

init(init )

Parameters:

  • :

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) .NET, Cooper, Island

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

AfterConstruction AfterConstruction()  virtual    (declared in TDelphiObject) Toffee

 

func AfterConstruction(AfterConstruction )

Parameters:

  • :

BeforeDestruction  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

BeforeDestruction BeforeDestruction()  virtual    (declared in TDelphiObject) Toffee

 

func BeforeDestruction(BeforeDestruction )

Parameters:

  • :

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 .NET, Cooper, Island

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Clear Clear()  virtual Toffee

 

func Clear(Clear )

Parameters:

  • :

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 .NET, Cooper, Island

 

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:

Create Create(): TStack<T>  virtual Toffee

 

static func Create(Create ) -> TStack<T>

Parameters:

  • :

Destroy  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Destroy Destroy()  virtual    (declared in TDelphiObject) Toffee

 

func Destroy(Destroy )

Parameters:

  • :

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 .NET, Cooper, Island

 

method Extract: T

 

T Extract()

 

func Extract() -> T

 

T Extract()

 

Function Extract() As T

Extract Extract(): T Toffee

 

func Extract(Extract ) -> T

Parameters:

  • :

Finalize  protected    (declared in TDelphiObject) .NET

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Free    (declared in TDelphiObject) .NET, Cooper, Island

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

Free Free()  virtual    (declared in TDelphiObject) Toffee

 

func Free(Free )

Parameters:

  • :

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

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>) .NET, Island

 

// .NET
method GetNonGenericEnumerator: IEnumerator
// Island
method GetNonGenericEnumerator: IEnumerator

 

// .NET
IEnumerator GetNonGenericEnumerator()
// Island
IEnumerator GetNonGenericEnumerator()

 

// .NET
func GetNonGenericEnumerator() -> IEnumerator
// Island
func GetNonGenericEnumerator() -> IEnumerator

 

// .NET
Function GetNonGenericEnumerator() As IEnumerator
// Island
Function GetNonGenericEnumerator() As IEnumerator

GetSequence  protected override virtual .NET, Cooper, Island

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> IEnumerable<T>

 

Iterable<T> GetSequence()

 

Function GetSequence() As IEnumerable<T>

GetSequence GetSequence(): INSFastEnumeration<T>  protected override Toffee

 

func GetSequence(GetSequence ) -> INSFastEnumeration<T>

Parameters:

  • :

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 .NET, Cooper, Island

 

method Peek: T

 

T Peek()

 

func Peek() -> T

 

T Peek()

 

Function Peek() As T

Peek Peek(): T  virtual Toffee

 

func Peek(Peek ) -> T

Parameters:

  • :

Pop .NET, Cooper, Island

 

method Pop: T

 

T Pop()

 

func Pop() -> T

 

T Pop()

 

Function Pop() As T

Pop Pop(): T  virtual Toffee

 

func Pop(Pop ) -> T

Parameters:

  • :

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 virtual .NET, Cooper, Island

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

 

Function ToArray() As T()

ToArray ToArray(): array of T  override Toffee

 

func ToArray(ToArray ) -> T...

Parameters:

  • :

TrimExcess .NET, Cooper, Island

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

 

Sub TrimExcess()

TrimExcess TrimExcess() Toffee

 

func TrimExcess(TrimExcess )

Parameters:

  • :

 

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 .NET, Cooper, Island

 

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:

Create Create(): TStack<T>  virtual Toffee

 

static func Create(Create ) -> TStack<T>

Parameters:

  • :

 

constructor .NET, Cooper, Island

 

constructor

 

TStack<T>()

 

init()

 

TStack<T>()

 

Sub New()

constructor init() Toffee

 

init(init )

Parameters:

  • :

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) .NET, Cooper, Island

 

method AfterConstruction

 

void AfterConstruction()

 

func AfterConstruction()

 

void AfterConstruction()

 

Sub AfterConstruction()

AfterConstruction AfterConstruction()  virtual    (declared in TDelphiObject) Toffee

 

func AfterConstruction(AfterConstruction )

Parameters:

  • :

BeforeDestruction  virtual    (declared in TDelphiObject) .NET, Cooper, Island

 

method BeforeDestruction

 

void BeforeDestruction()

 

func BeforeDestruction()

 

void BeforeDestruction()

 

Sub BeforeDestruction()

BeforeDestruction BeforeDestruction()  virtual    (declared in TDelphiObject) Toffee

 

func BeforeDestruction(BeforeDestruction )

Parameters:

  • :

Clear .NET, Cooper, Island

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Clear Clear()  virtual Toffee

 

func Clear(Clear )

Parameters:

  • :

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) .NET, Cooper, Island

 

method Destroy

 

void Destroy()

 

func Destroy()

 

void Destroy()

 

Sub Destroy()

Destroy Destroy()  virtual    (declared in TDelphiObject) Toffee

 

func Destroy(Destroy )

Parameters:

  • :

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 .NET, Cooper, Island

 

method Extract: T

 

T Extract()

 

func Extract() -> T

 

T Extract()

 

Function Extract() As T

Extract Extract(): T Toffee

 

func Extract(Extract ) -> T

Parameters:

  • :

Finalize  protected    (declared in TDelphiObject) .NET

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Free    (declared in TDelphiObject) .NET, Cooper, Island

 

method Free

 

void Free()

 

func Free()

 

void Free()

 

Sub Free()

Free Free()  virtual    (declared in TDelphiObject) Toffee

 

func Free(Free )

Parameters:

  • :

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

 

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>) .NET, Island

 

// .NET
method GetNonGenericEnumerator: IEnumerator
// Island
method GetNonGenericEnumerator: IEnumerator

 

// .NET
IEnumerator GetNonGenericEnumerator()
// Island
IEnumerator GetNonGenericEnumerator()

 

// .NET
func GetNonGenericEnumerator() -> IEnumerator
// Island
func GetNonGenericEnumerator() -> IEnumerator

 

// .NET
Function GetNonGenericEnumerator() As IEnumerator
// Island
Function GetNonGenericEnumerator() As IEnumerator

GetSequence  protected override virtual .NET, Cooper, Island

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> IEnumerable<T>

 

Iterable<T> GetSequence()

 

Function GetSequence() As IEnumerable<T>

GetSequence GetSequence(): INSFastEnumeration<T>  protected override Toffee

 

func GetSequence(GetSequence ) -> INSFastEnumeration<T>

Parameters:

  • :

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 .NET, Cooper, Island

 

method Peek: T

 

T Peek()

 

func Peek() -> T

 

T Peek()

 

Function Peek() As T

Peek Peek(): T  virtual Toffee

 

func Peek(Peek ) -> T

Parameters:

  • :

Pop .NET, Cooper, Island

 

method Pop: T

 

T Pop()

 

func Pop() -> T

 

T Pop()

 

Function Pop() As T

Pop Pop(): T  virtual Toffee

 

func Pop(Pop ) -> T

Parameters:

  • :

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 virtual .NET, Cooper, Island

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

 

Function ToArray() As T()

ToArray ToArray(): array of T  override Toffee

 

func ToArray(ToArray ) -> T...

Parameters:

  • :

TrimExcess .NET, Cooper, Island

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

 

Sub TrimExcess()

TrimExcess TrimExcess() Toffee

 

func TrimExcess(TrimExcess )

Parameters:

  • :