Stack<T>

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard
    • elements.jar  Cooper
    • Elements.fx  Island
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Mapped to:
    • System.Collections.Generic.Stack  .NET, .NET Standard
    • java.util.Stack  Cooper
    • RemObjects.Elements.System.Stack  Island
    • Foundation.NSMutableArray  Toffee
  • Ancestry: ImmutableStack<T> | Stack<T>

 

constructor

 

constructor

 

Stack<T>()

 

init()

 

Stack<T>()

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

Contains  virtual    (declared in ImmutableStack<T>)

 

method Contains(Item: T): Boolean

 

Boolean Contains(T Item)

 

func Contains(_ Item: T) -> Boolean

 

Boolean Contains(T Item)

Parameters:

  • Item:

Count  virtual    (declared in ImmutableStack<T>)

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

MutableVersion  virtual    (declared in ImmutableStack<T>)

 

method MutableVersion: Stack<T>

 

Stack<T> MutableVersion()

 

func MutableVersion() -> Stack<T>

 

Stack<T> MutableVersion()

Peek  virtual    (declared in ImmutableStack<T>)

 

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(Item: T)

 

void Push(T Item)

 

func Push(_ Item: T)

 

void Push(T Item)

Parameters:

  • Item:

ToArray  virtual    (declared in ImmutableStack<T>)

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

UniqueCopy  virtual    (declared in ImmutableStack<T>)

 

method UniqueCopy: ImmutableStack<T>

 

ImmutableStack<T> UniqueCopy()

 

func UniqueCopy() -> ImmutableStack<T>

 

ImmutableStack<T> UniqueCopy()

UniqueMutableCopy  virtual    (declared in ImmutableStack<T>)

 

method UniqueMutableCopy: Stack<T>

 

Stack<T> UniqueMutableCopy()

 

func UniqueMutableCopy() -> Stack<T>

 

Stack<T> UniqueMutableCopy()

 

Count  virtual    (declared in ImmutableStack<T>)

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

 

constructor

 

constructor

 

Stack<T>()

 

init()

 

Stack<T>()

Clear  virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

Contains  virtual    (declared in ImmutableStack<T>)

 

method Contains(Item: T): Boolean

 

Boolean Contains(T Item)

 

func Contains(_ Item: T) -> Boolean

 

Boolean Contains(T Item)

Parameters:

  • Item:

MutableVersion  virtual    (declared in ImmutableStack<T>)

 

method MutableVersion: Stack<T>

 

Stack<T> MutableVersion()

 

func MutableVersion() -> Stack<T>

 

Stack<T> MutableVersion()

Peek  virtual    (declared in ImmutableStack<T>)

 

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(Item: T)

 

void Push(T Item)

 

func Push(_ Item: T)

 

void Push(T Item)

Parameters:

  • Item:

ToArray  virtual    (declared in ImmutableStack<T>)

 

method ToArray: array of T

 

T[] ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

UniqueCopy  virtual    (declared in ImmutableStack<T>)

 

method UniqueCopy: ImmutableStack<T>

 

ImmutableStack<T> UniqueCopy()

 

func UniqueCopy() -> ImmutableStack<T>

 

ImmutableStack<T> UniqueCopy()

UniqueMutableCopy  virtual    (declared in ImmutableStack<T>)

 

method UniqueMutableCopy: Stack<T>

 

Stack<T> UniqueMutableCopy()

 

func UniqueMutableCopy() -> Stack<T>

 

Stack<T> UniqueMutableCopy()