Méthode | Description | |
---|---|---|
CombinedUnit ( String unit ) : System | ||
ConvertTo ( String unit ) : Double>>.List |
Tries to convert the unit to the given unit.
|
|
CreateFrom ( String unit ) : |
||
Divide ( |
Divides the given combined unit by another unit.
|
|
Divide ( String unit ) : |
Divides the given combined unit by the string representation of another unit.
|
|
Multiply ( |
Multiplies the given combined unit with another combined unit.
|
|
Multiply ( String unit ) : |
Multiplies the given combined unit with the string representation of another unit.
|
|
Raise ( Double pwr ) : |
Raises the current unit to the specified power, i.e. kg*s --> raised to 2 is kg^2 * s^2.
|
|
Simplify ( ) : |
Tries to simplify the current expression by considering combined types.
|
|
Sqrt ( ) : |
Takes the square root of the current unit, i.e. raises it to the power 1/2.
|
|
ToString ( ) : String | ||
Unpack ( ) : String |
Unpacks the given units, i.e. returns the representation of the unit in elementary units.
|
Méthode | Description | |
---|---|---|
CombinedUnit ( String combination, Double factor ) : System | ||
Create ( ) : |
||
IsNumber ( char ch ) : bool | ||
IsWhiteSpace ( char ch ) : bool |
Méthode | Description | |
---|---|---|
AddUnit ( Double>.Dictionary |
||
ConvertToDouble ( String s ) : Double | ||
ConvertToInteger ( string s ) : int | ||
Count ( Token token, Token tokens ) : |
||
EatWhile ( Token token, Token tokens, String text, |
||
FindMapping ( String source, Double>.Dictionary |
||
GetChanges ( |
||
GetToken ( char ch ) : Token | ||
Parse ( String unit ) : Double>.Dictionary |
||
Parse ( String unit, Double>.Dictionary |
public CombinedUnit ( String unit ) : System | ||
unit | String | |
Résultat | System |
protected CombinedUnit ( String combination, Double factor ) : System | ||
combination | String | |
factor | Double | |
Résultat | System |
public ConvertTo ( String unit ) : Double>>.List |
||
unit | String | The unit (combination) to convert to. |
Résultat | Double>>.List |
public CreateFrom ( String unit ) : |
||
unit | String | |
Résultat |
public Divide ( |
||
unit | The combined unit to divide the current unit. | |
Résultat |
public Divide ( String unit ) : |
||
unit | String | The combined unit to divide the current unit. |
Résultat |
public Multiply ( |
||
unit | The combined unit which is multiplied to the current unit. | |
Résultat |
public Multiply ( String unit ) : |
||
unit | String | The unit to multiply the current unit with. |
Résultat |
public Raise ( Double pwr ) : |
||
pwr | Double | The power to raise the unit with. |
Résultat |