| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public boolean | equals(Object
object to compare other)Overrides org. This override does not do a "checked" dispatch. |
| public RubyFixnum | hash(ThreadContext
the current thread context context)Overrides org. Will return the hash code of this object. |
| public int | hashCode()
Overrides org. This override does not do "checked" dispatch since Object usually has #hash defined. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public RubyString | |
| public RubyString | |
| public RubyFixnum | |
| public RubyFixnum | |
| public RubyBoolean | op_eqq(final ThreadContext context, IRubyObject obj)
Overrides org. Implements org. rb_equal The Ruby "===" method is used by default in case/when statements. |
| public IRubyObject | |
| public RubyBoolean | op_equal(final ThreadContext context, IRubyObject obj)
Overrides org. Implements org. rb_obj_equal Will by default use identity equality to compare objects. |
| protected static void | |
| public IRubyObject | |
| public IRubyObject | |
| pack-priv static RubyArray | |
| pack-priv final RubyArray | |
| public String | toString()
Overrides org. The default toString method is just a wrapper that calls the Ruby "to_s" method. |
| JavaProxyReflectionObject | back to summary |
|---|---|
| public JavaProxyReflectionObject(Ruby runtime, RubyClass metaClass) | |
| aref | back to summary |
|---|---|
| public IRubyObject aref(IRubyObject index)
Deprecated since 10.0.
| |
| aref | back to summary |
|---|---|
public IRubyObject aref(ThreadContext context, IRubyObject index)
| |
| aset | back to summary |
|---|---|
| public IRubyObject aset(IRubyObject index, IRubyObject someValue)
Deprecated since 10.0.
| |
| aset | back to summary |
|---|---|
public IRubyObject aset(ThreadContext context, IRubyObject index, IRubyObject someValue)
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides org. Doc from org. This override does not do a "checked" dispatch.
| |
| hash | back to summary |
|---|---|
| public RubyFixnum hash(ThreadContext context) Overrides org. Doc from org. Will return the hash code of this object. In comparison to MRI, this method will use the Java identity hash code instead of using rb_obj_id, since the usage of id in JRuby will incur the cost of some. ObjectSpace maintenance.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from org. This override does not do "checked" dispatch since Object usually has #hash defined.
| |
| is_java_proxy | back to summary |
|---|---|
| public IRubyObject is_java_proxy()
Deprecated since 10.0.
| |
| is_java_proxy | back to summary |
|---|---|
public IRubyObject is_java_proxy(ThreadContext context)
| |
| java_class | back to summary |
|---|---|
| public IRubyObject java_class()
Deprecated since 10.0.
| |
| java_class | back to summary |
|---|---|
public IRubyObject java_class(ThreadContext context)
| |
| java_type | back to summary |
|---|---|
| public RubyString java_type()
Deprecated since 10.0.
| |
| java_type | back to summary |
|---|---|
public RubyString java_type(ThreadContext context)
| |
| length | back to summary |
|---|---|
| public RubyFixnum length()
Deprecated since 10.0.
| |
| length | back to summary |
|---|---|
public RubyFixnum length(ThreadContext context)
| |
| op_eqq | back to summary |
|---|---|
| public RubyBoolean op_eqq(final ThreadContext context, IRubyObject obj) Overrides org. Implements org. Doc from org. rb_equal The Ruby "===" method is used by default in case/when statements. The Object implementation first checks Java identity equality and then calls the "==" method too.
| |
| op_equal | back to summary |
|---|---|
| public IRubyObject op_equal(IRubyObject other)
Deprecated
| |
| op_equal | back to summary |
|---|---|
| public RubyBoolean op_equal(final ThreadContext context, IRubyObject obj) Overrides org. Implements org. Doc from org. rb_obj_equal Will by default use identity equality to compare objects. This follows the Ruby semantics. The name of this method doesn't follow the convention because hierarchy problems
| |
| registerRubyMethods | back to summary |
|---|---|
| protected static void registerRubyMethods(ThreadContext context, RubyClass klass) | |
| same | back to summary |
|---|---|
| public IRubyObject same(IRubyObject other)
Deprecated
| |
| to_s | back to summary |
|---|---|
| public IRubyObject to_s(ThreadContext context) Overrides org.
| |
| toClassArray | back to summary |
|---|---|
| pack-priv static RubyArray | |
| toRubyArray | back to summary |
|---|---|
| pack-priv final RubyArray | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from org. The default toString method is just a wrapper that calls the Ruby "to_s" method. | |