C# Class Anagrams.Bag

Inheritance: IComparable
Afficher le fichier Open project: offby1/anagrams Class Usage Examples

Méthodes publiques

Méthode Description
AsString ( ) : string
Bag ( string s ) : System
CompareTo ( object obj ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
empty ( ) : bool
subtract ( Bag subtrahend ) : Bag
test ( ) : void

Private Methods

Méthode Description
subtract_strings ( string minuend, string subtrahend ) : string
test_subtraction ( string minuend, string subtrahend, string expected_difference ) : void

Method Details

AsString() public méthode

public AsString ( ) : string
Résultat string

Bag() public méthode

public Bag ( string s ) : System
s string
Résultat System

CompareTo() public méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

empty() public méthode

public empty ( ) : bool
Résultat bool

subtract() public méthode

public subtract ( Bag subtrahend ) : Bag
subtrahend Bag
Résultat Bag

test() public static méthode

public static test ( ) : void
Résultat void