C# Class IronRuby.Builtins.Comparable

Show file Open project: ExpertsInside/IronSP Class Usage Examples

Private Methods

Method Description
Between ( BinaryOpStorage compareStorage, BinaryOpStorage lessThanStorage, BinaryOpStorage greaterThanStorage, object self, object min, object max ) : bool
Compare ( BinaryOpStorage compareStorage, BinaryOpStorage lessThanStorage, BinaryOpStorage greaterThanStorage, object lhs, object rhs ) : int?

Try to compare the lhs and rhs. Throws and exception if comparison returns null. Returns null on failure, -1/0/+1 otherwise.

Equal ( BinaryOpStorage compareStorage, object self, object other ) : object
Greater ( BinaryOpStorage compareStorage, BinaryOpStorage lessThanStorage, BinaryOpStorage greaterThanStorage, object self, object other ) : bool
GreaterOrEqual ( BinaryOpStorage compareStorage, BinaryOpStorage lessThanStorage, BinaryOpStorage greaterThanStorage, object self, object other ) : bool
Less ( BinaryOpStorage compareStorage, BinaryOpStorage lessThanStorage, BinaryOpStorage greaterThanStorage, object self, object other ) : bool
LessOrEqual ( BinaryOpStorage compareStorage, BinaryOpStorage lessThanStorage, BinaryOpStorage greaterThanStorage, object self, object other ) : bool