|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.ext.ffi.Type
org.jruby.ext.ffi.Type.Builtin
public static final class Type.Builtin
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jruby.ext.ffi.Type |
|---|
Type.Array, Type.Builtin |
| Nested classes/interfaces inherited from class org.jruby.RubyObject |
|---|
RubyObject.Data, RubyObject.ObjectMethods |
| Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
|---|
RubyBasicObject.BasicObjectMethods, RubyBasicObject.Finalizer |
| Field Summary |
|---|
| Fields inherited from class org.jruby.ext.ffi.Type |
|---|
alignment, nativeType, size |
| Fields inherited from class org.jruby.RubyObject |
|---|
OBJECT_ALLOCATOR |
| Fields inherited from class org.jruby.RubyBasicObject |
|---|
ALL_F, COMPARE_BY_IDENTITY_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, TAINTED_F, UNDEF, UNTRUSTED_F, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F |
| Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
|---|
NULL_ARRAY |
| Method Summary | |
|---|---|
IRubyObject |
eql_p(ThreadContext context,
IRubyObject obj)
|
IRubyObject |
equal_p(ThreadContext context,
IRubyObject obj)
rb_obj_equal Will use Java identity equality. |
boolean |
equals(java.lang.Object obj)
This method is just a wrapper around the Ruby "==" method, provided so that RubyObjects can be used as keys in the Java HashMap object underlying RubyHash. |
int |
hashCode()
Override the Object#hashCode method to make sure that the Ruby hash is actually used as the hashcode for Ruby objects. |
IRubyObject |
op_equal(ThreadContext context,
IRubyObject obj)
rb_obj_equal Will by default use identity equality to compare objects. |
IRubyObject |
to_s(ThreadContext context)
|
IRubyObject |
to_sym(ThreadContext context)
|
java.lang.String |
toString()
The default toString method is just a wrapper that calls the Ruby "to_s" method. |
| Methods inherited from class org.jruby.ext.ffi.Type |
|---|
alignment, createTypeClass, getNativeAlignment, getNativeSize, getNativeType, getTypeClass, size |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final IRubyObject to_s(ThreadContext context)
public final java.lang.String toString()
RubyObject
toString in class RubyObjectpublic boolean equals(java.lang.Object obj)
RubyObject
equals in class RubyObjectpublic int hashCode()
RubyObject
hashCode in class RubyObjectpublic final IRubyObject to_sym(ThreadContext context)
public IRubyObject op_equal(ThreadContext context,
IRubyObject obj)
RubyObject
op_equal in interface IRubyObjectop_equal in class RubyObject
public IRubyObject equal_p(ThreadContext context,
IRubyObject obj)
RubyObject
equal_p in class RubyObject
public IRubyObject eql_p(ThreadContext context,
IRubyObject obj)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||