C# Class xFunc.Maths.Tokens.NumberToken

Represents a number token.
Inheritance: IToken
Afficher le fichier Open project: sys27/xFunc Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Determines whether the specified object is equal to the current object.

GetHashCode ( ) : int

Returns a hash code for this instance.

NumberToken ( double number ) : System

Initializes the NumberToken class.

ToString ( ) : string

Returns a string that represents the current object.

Method Details

Equals() public méthode

Determines whether the specified object is equal to the current object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Résultat bool

GetHashCode() public méthode

Returns a hash code for this instance.
public GetHashCode ( ) : int
Résultat int

NumberToken() public méthode

Initializes the NumberToken class.
public NumberToken ( double number ) : System
number double A number.
Résultat System

ToString() public méthode

Returns a string that represents the current object.
public ToString ( ) : string
Résultat string