C# Class RefactoringGolf.Stack.Stack

ファイルを表示 Open project: snahider/Refactoring-Golf Class Usage Examples

Public Methods

Method Description
Contains ( object elementToFind ) : bool
Peek ( ) : object
Pop ( ) : object
Push ( object element ) : void
ReplaceAll ( object elementToFind, object newElement ) : void
Search ( object elementToFind ) : int

Method Details

Contains() public method

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

Peek() public method

public Peek ( ) : object
return object

Pop() public method

public Pop ( ) : object
return object

Push() public method

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

ReplaceAll() public method

public ReplaceAll ( object elementToFind, object newElement ) : void
elementToFind object
newElement object
return void

Search() public method

public Search ( object elementToFind ) : int
elementToFind object
return int