Method | Description | |
---|---|---|
Ceq ( double dx, string sy ) : bool | ||
Ceq ( long lx, bool by ) : bool | ||
Ceq ( long lx, double dy ) : bool | ||
Ceq ( long lx, string sy ) : bool | ||
Ceq ( string sx, bool by ) : bool | ||
Ceq ( string sx, double dy ) : bool | ||
Ceq ( string sx, long ly ) : bool | ||
Cgt ( long lx, double dy ) : bool | ||
Clt ( long lx, double dy ) : bool | ||
Compare ( PhpNumber x, |
||
Compare ( |
||
Compare ( bool bx, |
||
Compare ( bool bx, bool by ) : int | ||
Compare ( double dx, |
||
Compare ( double x, double y ) : int |
Compares two double values. We cannot used Math.Sign(double) on |
|
Compare ( long lx, |
||
Compare ( long x, long y ) : int |
Compares two long integer values.
|
|
Compare ( string sx, |
||
Compare ( string sx, double dy ) : int |
Compares a string with double.
|
|
Compare ( string sx, long ly ) : int |
Compares a string with long.
|
|
Compare ( string sx, string sy ) : int |
Compares string in a manner of PHP. Note that this comparison is not transitive (e.g. {"2","10","10a"} leads to a contradiction). |
|
CompareNull ( |
||
Equals ( string x, double dy ) : bool |
Compares two objects for equality in a manner of the PHP regular comparison.
|
|
Equals ( string x, long ly ) : bool |
Compares two objects for equality in a manner of the PHP regular comparison.
|
public static Ceq ( double dx, string sy ) : bool | ||
dx | double | |
sy | string | |
return | bool |
public static Ceq ( long lx, bool by ) : bool | ||
lx | long | |
by | bool | |
return | bool |
public static Ceq ( long lx, double dy ) : bool | ||
lx | long | |
dy | double | |
return | bool |
public static Ceq ( long lx, string sy ) : bool | ||
lx | long | |
sy | string | |
return | bool |
public static Ceq ( string sx, bool by ) : bool | ||
sx | string | |
by | bool | |
return | bool |
public static Ceq ( string sx, double dy ) : bool | ||
sx | string | |
dy | double | |
return | bool |
public static Ceq ( string sx, long ly ) : bool | ||
sx | string | |
ly | long | |
return | bool |
public static Cgt ( long lx, double dy ) : bool | ||
lx | long | |
dy | double | |
return | bool |
public static Clt ( long lx, double dy ) : bool | ||
lx | long | |
dy | double | |
return | bool |
public static Compare ( PhpNumber x, |
||
x | PhpNumber | |
y | ||
return | int |
public static Compare ( |
||
x | ||
y | ||
return | int |
public static Compare ( bool bx, |
||
bx | bool | |
y | ||
return | int |
public static Compare ( bool bx, bool by ) : int | ||
bx | bool | |
by | bool | |
return | int |
public static Compare ( double dx, |
||
dx | double | |
y | ||
return | int |
public static Compare ( double x, double y ) : int | ||
x | double | |
y | double | |
return | int |
public static Compare ( long lx, |
||
lx | long | |
y | ||
return | int |
public static Compare ( long x, long y ) : int | ||
x | long | |
y | long | |
return | int |
public static Compare ( string sx, |
||
sx | string | |
y | ||
return | int |
public static Compare ( string sx, double dy ) : int | ||
sx | string | |
dy | double | |
return | int |
public static Compare ( string sx, long ly ) : int | ||
sx | string | |
ly | long | |
return | int |
public static Compare ( string sx, string sy ) : int | ||
sx | string | |
sy | string | |
return | int |
public static CompareNull ( |
||
y | ||
return | int |
public static Equals ( string x, double dy ) : bool | ||
x | string | The first object. |
dy | double | The second object. |
return | bool |
public static Equals ( string x, long ly ) : bool | ||
x | string | The first object. |
ly | long | The second object. |
return | bool |