Overview

Location

constructor


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)


BeforeDestruction  virtual    (declared in TDelphiObject)


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



Count  virtual

property Count: Int32 read;
var Count: Int32 { 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>

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:



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>




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

method GetNonGenericEnumerator: IEnumerator
IEnumerator GetNonGenericEnumerator()
func GetNonGenericEnumerator() -> IEnumerator
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>

method iterator: Iterator<T>
func iterator() -> Iterator<T>
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


Pop  virtual


Push  virtual

Parameters:

  • Value:

ToArray  override

method ToArray: array of T
Function ToArray() As T()

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;
var Count: Int32 { 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>

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(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)


BeforeDestruction  virtual    (declared in TDelphiObject)


Clear  virtual



countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

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

Parameters:

  • aState:
  • aStackbuf:
  • len:



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>




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

method GetNonGenericEnumerator: IEnumerator
IEnumerator GetNonGenericEnumerator()
func GetNonGenericEnumerator() -> IEnumerator
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>

method iterator: Iterator<T>
func iterator() -> Iterator<T>
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


Pop  virtual


Push  virtual

Parameters:

  • Value:

ToArray  override

method ToArray: array of T
Function ToArray() As T()

TrimExcess