C# 클래스 Anagrams.Bag

상속: IComparable
파일 보기 프로젝트 열기: offby1/anagrams 1 사용 예제들

공개 메소드들

메소드 설명
AsString ( ) : string
Bag ( string s ) : System
CompareTo ( object obj ) : int
Equals ( object obj ) : bool
GetHashCode ( ) : int
empty ( ) : bool
subtract ( Bag subtrahend ) : Bag
test ( ) : void

비공개 메소드들

메소드 설명
subtract_strings ( string minuend, string subtrahend ) : string
test_subtraction ( string minuend, string subtrahend, string expected_difference ) : void

메소드 상세

AsString() 공개 메소드

public AsString ( ) : string
리턴 string

Bag() 공개 메소드

public Bag ( string s ) : System
s string
리턴 System

CompareTo() 공개 메소드

public CompareTo ( object obj ) : int
obj object
리턴 int

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

empty() 공개 메소드

public empty ( ) : bool
리턴 bool

subtract() 공개 메소드

public subtract ( Bag subtrahend ) : Bag
subtrahend Bag
리턴 Bag

test() 공개 정적인 메소드

public static test ( ) : void
리턴 void