TStack<T>

Overview

Location

 

constructor

 

constructor

 

TStack<T>()

 

init()

 

TStack<T>()

constructor (TEnumerable<T>): InstanceType

 

constructor(Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

 

init(_ Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

Parameters:

  • Collection:

Capacity  virtual

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

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

 

Integer Capacity { __get; __set; }

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

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

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)

Parameters:

  • Collection:

Extract

 

method Extract: T

 

T Extract()

 

func Extract() -> T

 

T Extract()

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

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

GetSequence  protected override

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> INSFastEnumeration<T>

 

Iterable<T> GetSequence()

iterator  final    (declared in TEnumerable<T>) Cooper

 

method iterator: Iterator<T>

 

Iterator<T> iterator()

 

func iterator() -> Iterator<T>

 

Iterator<T> iterator()

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)

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; }

Peek  virtual

 

method Peek: T

 

T Peek()

 

func Peek() -> T

 

T Peek()

Pop  virtual

 

method Pop: T

 

T Pop()

 

func Pop() -> T

 

T Pop()

Push  virtual

 

method Push(Value: T)

 

void Push(T Value)

 

func Push(_ Value: T)

 

void Push(T Value)

Parameters:

  • Value:

ToArray  override

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

TrimExcess

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()

 

Capacity  virtual

 

property Capacity: Int32 read write;

 

Int32 Capacity { get; set; }

 

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

 

Integer Capacity { __get; __set; }

Count  virtual

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

OnNotify  virtual

 

property OnNotify: TCollectionNotifyEvent<T> read write;

 

TCollectionNotifyEvent<T> OnNotify { get; set; }

 

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

 

TCollectionNotifyEvent<T> OnNotify { __get; __set; }

 

Create  virtual

 

class method Create: TStack<T>

 

static TStack<T> Create()

 

static func Create() -> TStack<T>

 

static TStack<T> Create()

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)

Parameters:

  • Collection:

 

constructor

 

constructor

 

TStack<T>()

 

init()

 

TStack<T>()

constructor (TEnumerable<T>): InstanceType

 

constructor(Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

 

init(_ Collection: TEnumerable<T>)

 

TStack<T>(TEnumerable<T> Collection)

Parameters:

  • Collection:

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

countByEnumeratingWithState    (declared in TEnumerable<T>) Toffee

 

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

Parameters:

  • aState:
  • aStackbuf:
  • len:

Extract

 

method Extract: T

 

T Extract()

 

func Extract() -> T

 

T Extract()

GetEnumerator  override virtual Island

 

method GetEnumerator: IEnumerator<T>

 

IEnumerator<T> GetEnumerator()

 

func GetEnumerator() -> IEnumerator<T>

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

GetSequence  protected override

 

method GetSequence: IEnumerable<T>

 

IEnumerable<T> GetSequence()

 

func GetSequence() -> INSFastEnumeration<T>

 

Iterable<T> GetSequence()

iterator  final    (declared in TEnumerable<T>) Cooper

 

method iterator: Iterator<T>

 

Iterator<T> iterator()

 

func iterator() -> Iterator<T>

 

Iterator<T> iterator()

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)

Parameters:

  • Item:
  • Action:

Peek  virtual

 

method Peek: T

 

T Peek()

 

func Peek() -> T

 

T Peek()

Pop  virtual

 

method Pop: T

 

T Pop()

 

func Pop() -> T

 

T Pop()

Push  virtual

 

method Push(Value: T)

 

void Push(T Value)

 

func Push(_ Value: T)

 

void Push(T Value)

Parameters:

  • Value:

ToArray  override

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

TrimExcess

 

method TrimExcess

 

void TrimExcess()

 

func TrimExcess()

 

void TrimExcess()