|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.RubyComparable
public class RubyComparable
Implementation of the Comparable module.
Constructor Summary | |
---|---|
RubyComparable()
|
Method Summary | |
---|---|
static RubyBoolean |
between_p(IRubyObject recv,
IRubyObject first,
IRubyObject second)
cmp_between |
static void |
cmperr(IRubyObject recv,
IRubyObject other)
rb_cmperr |
static int |
cmpint(IRubyObject val,
IRubyObject a,
IRubyObject b)
rb_cmpint |
static RubyModule |
createComparable(Ruby runtime)
|
static IRubyObject |
equal(IRubyObject recv,
IRubyObject other)
cmp_equal (cmp_eq inlined here) |
static RubyBoolean |
op_ge(IRubyObject recv,
IRubyObject other)
cmp_ge |
static RubyBoolean |
op_gt(IRubyObject recv,
IRubyObject other)
cmp_gt |
static RubyBoolean |
op_le(IRubyObject recv,
IRubyObject other)
cmp_le |
static RubyBoolean |
op_lt(IRubyObject recv,
IRubyObject other)
cmp_lt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RubyComparable()
Method Detail |
---|
public static RubyModule createComparable(Ruby runtime)
public static int cmpint(IRubyObject val, IRubyObject a, IRubyObject b)
public static void cmperr(IRubyObject recv, IRubyObject other)
public static IRubyObject equal(IRubyObject recv, IRubyObject other)
public static RubyBoolean op_gt(IRubyObject recv, IRubyObject other)
public static RubyBoolean op_ge(IRubyObject recv, IRubyObject other)
public static RubyBoolean op_lt(IRubyObject recv, IRubyObject other)
public static RubyBoolean op_le(IRubyObject recv, IRubyObject other)
public static RubyBoolean between_p(IRubyObject recv, IRubyObject first, IRubyObject second)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |