C# Class System.Collections.Stack

显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Clone ( ) : Object
Clone ( ) : object
Contains ( Object obj ) : bool
Contains ( object obj ) : bool
CopyTo ( Array array, int index ) : void
CopyTo ( System array, int index ) : void
GetEnumerator ( ) : IEnumerator
GetEnumerator ( ) : System.Collections.IEnumerator
Peek ( ) : Object
Peek ( ) : object
Pop ( ) : Object
Pop ( ) : object
Push ( Object obj ) : void
Push ( object obj ) : void
Stack ( )
Stack ( System col )
Stack ( int initialCapacity )
Stack ( ) : System.Diagnostics
Stack ( ICollection col ) : System.Diagnostics
Stack ( int initialCapacity ) : System.Diagnostics
Synchronized ( Stack stack ) : Stack
Synchronized ( System stack ) : System.Collections.Stack
ToArray ( ) : Object[]
ToArray ( ) : object[]

Method Details

Clear() public method

public Clear ( ) : void
return void

Clone() public method

public Clone ( ) : Object
return Object

Clone() public method

public Clone ( ) : object
return object

Contains() public method

public Contains ( Object obj ) : bool
obj Object
return bool

Contains() public method

public Contains ( object obj ) : bool
obj object
return bool

CopyTo() public method

public CopyTo ( Array array, int index ) : void
array System.Array
index int
return void

CopyTo() public method

public CopyTo ( System array, int index ) : void
array System
index int
return void

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

GetEnumerator() public method

public GetEnumerator ( ) : System.Collections.IEnumerator
return System.Collections.IEnumerator

Peek() public method

public Peek ( ) : Object
return Object

Peek() public method

public Peek ( ) : object
return object

Pop() public method

public Pop ( ) : Object
return Object

Pop() public method

public Pop ( ) : object
return object

Push() public method

public Push ( Object obj ) : void
obj Object
return void

Push() public method

public Push ( object obj ) : void
obj object
return void

Stack() public method

public Stack ( )

Stack() public method

public Stack ( System col )
col System

Stack() public method

public Stack ( int initialCapacity )
initialCapacity int

Stack() public method

public Stack ( ) : System.Diagnostics
return System.Diagnostics

Stack() public method

public Stack ( ICollection col ) : System.Diagnostics
col ICollection
return System.Diagnostics

Stack() public method

public Stack ( int initialCapacity ) : System.Diagnostics
initialCapacity int
return System.Diagnostics

Synchronized() public static method

public static Synchronized ( Stack stack ) : Stack
stack Stack
return Stack

Synchronized() public static method

public static Synchronized ( System stack ) : System.Collections.Stack
stack System
return System.Collections.Stack

ToArray() public method

public ToArray ( ) : Object[]
return Object[]

ToArray() public method

public ToArray ( ) : object[]
return object[]