| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | |
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static RubyModule | createObjectSpaceModule(ThreadContext context, RubyClass Object)
Create the ObjectSpace module and add it to the Ruby runtime. |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | each_objectInternal(final ThreadContext context, IRubyObject recv, IRubyObject[] args, final Block block)
|
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| private static void | |
| public static IRubyObject | |
| public static IRubyObject |
| RubyObjectSpace | back to summary |
|---|---|
| public RubyObjectSpace() | |
| blockReferencesObject | back to summary |
|---|---|
| private static boolean blockReferencesObject(IRubyObject object, Block block) | |
| createObjectSpaceModule | back to summary |
|---|---|
| public static RubyModule createObjectSpaceModule(ThreadContext context, RubyClass Object) Create the ObjectSpace module and add it to the Ruby runtime. | |
| define_finalizer | back to summary |
|---|---|
| public static IRubyObject define_finalizer(IRubyObject recv, IRubyObject[] args, Block block)
Deprecated
| |
| define_finalizer | back to summary |
|---|---|
public static IRubyObject define_finalizer(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
| |
| each_object | back to summary |
|---|---|
public static IRubyObject each_object(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
| |
| each_objectInternal | back to summary |
|---|---|
| public static IRubyObject each_objectInternal(final ThreadContext context, IRubyObject recv, IRubyObject[] args, final Block block) | |
| garbage_collect | back to summary |
|---|---|
public static IRubyObject garbage_collect(ThreadContext context, IRubyObject recv, IRubyObject[] args)
| |
| id2ref | back to summary |
|---|---|
| public static IRubyObject id2ref(IRubyObject recv, IRubyObject id)
Deprecated since 10.0.
| |
| id2ref | back to summary |
|---|---|
public static IRubyObject id2ref(ThreadContext context, IRubyObject recv, IRubyObject id)
| |
| referenceWarning | back to summary |
|---|---|
| private static void referenceWarning(ThreadContext context) | |
| undefine_finalizer | back to summary |
|---|---|
| public static IRubyObject undefine_finalizer(IRubyObject recv, IRubyObject obj, Block block)
Deprecated since 10.0.
| |
| undefine_finalizer | back to summary |
|---|---|
public static IRubyObject undefine_finalizer(ThreadContext context, IRubyObject recv, IRubyObject obj, Block block)
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| protected abstract Stream | |
| protected abstract Map | |
| public abstract IRubyObject | inspect(ThreadContext context)
Redeclares as abstract: org. Overrides org. Returns a string containing a human-readable representation of obj. |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public abstract IRubyObject | |
| public IRubyObject |
| AbstractWeakMap | back to summary |
|---|---|
| public AbstractWeakMap(Ruby runtime, RubyClass cls) | |
| clear | back to summary |
|---|---|
public abstract IRubyObject clear(ThreadContext context)
| |
| delete | back to summary |
|---|---|
public IRubyObject delete(ThreadContext context, IRubyObject key, Block block)
| |
| each | back to summary |
|---|---|
public IRubyObject each(ThreadContext context, Block block)
| |
| each_key | back to summary |
|---|---|
public IRubyObject each_key(ThreadContext context, Block block)
| |
| each_value | back to summary |
|---|---|
public IRubyObject each_value(ThreadContext context, Block block)
| |
| getEntryStream | back to summary |
|---|---|
| protected abstract Stream | |
| getWeakMapFor | back to summary |
|---|---|
| protected abstract Map | |
| inspect | back to summary |
|---|---|
| public abstract IRubyObject inspect(ThreadContext context) Redeclares as abstract: org. Overrides org. Doc from org. Returns a string containing a human-readable representation of
obj. If not overridden, uses the
| |
| key_p | back to summary |
|---|---|
public IRubyObject key_p(ThreadContext context, IRubyObject key)
| |
| keys | back to summary |
|---|---|
public IRubyObject keys(ThreadContext context)
| |
| member_p | back to summary |
|---|---|
public IRubyObject member_p(ThreadContext context, IRubyObject key)
| |
| op_aref | back to summary |
|---|---|
public IRubyObject op_aref(ThreadContext context, IRubyObject key)
| |
| op_aref | back to summary |
|---|---|
public IRubyObject op_aref(ThreadContext context, IRubyObject key, IRubyObject value)
| |
| size | back to summary |
|---|---|
public abstract IRubyObject size(ThreadContext context)
| |
| values | back to summary |
|---|---|
public IRubyObject values(ThreadContext context)
| |
| Modifier and Type | Field and Description |
|---|---|
| private final WeakHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| pack-priv static void | |
| protected Stream | |
| public IRubyObject | |
| protected Map | getWeakMapFor(IRubyObject key)
Implements abstract org.
|
| public IRubyObject | inspect(ThreadContext context)
Overrides default org. Implements abstract org. Returns a string containing a human-readable representation of obj. |
| public IRubyObject | op_aref(ThreadContext context, IRubyObject key, IRubyObject value)
Overrides org.
|
| public IRubyObject |
| weakMap | back to summary |
|---|---|
| private final WeakHashMap<IRubyObject, IRubyObject> weakMap | |
| WeakKeyMap | back to summary |
|---|---|
| public WeakKeyMap(Ruby runtime, RubyClass cls) | |
| clear | back to summary |
|---|---|
| public IRubyObject clear(ThreadContext context) Implements abstract org.
| |
| createWeakMap | back to summary |
|---|---|
| pack-priv static void createWeakMap(ThreadContext context, RubyClass Object, RubyModule ObjectSpace) | |
| getEntryStream | back to summary |
|---|---|
| protected Stream Implements abstract org. | |
| getkey | back to summary |
|---|---|
public IRubyObject getkey(ThreadContext context, IRubyObject key)
| |
| getWeakMapFor | back to summary |
|---|---|
| protected Map Implements abstract org. | |
| inspect | back to summary |
|---|---|
| public IRubyObject inspect(ThreadContext context) Overrides default org. Implements abstract org. Doc from org. Returns a string containing a human-readable representation of
obj. If not overridden, uses the | |
| op_aref | back to summary |
|---|---|
| public IRubyObject op_aref(ThreadContext context, IRubyObject key, IRubyObject value) Overrides org. | |
| size | back to summary |
|---|---|
| public IRubyObject size(ThreadContext context) Implements abstract org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final WeakValuedIdentityMap | |
| private final WeakValuedMap |
| Modifier and Type | Method and Description |
|---|---|
| public IRubyObject | |
| pack-priv static void | |
| protected Stream | |
| protected Map | getWeakMapFor(IRubyObject key)
Implements abstract org.
|
| public IRubyObject | inspect(ThreadContext context)
Overrides default org. Implements abstract org. Returns a string containing a human-readable representation of obj. |
| public IRubyObject |
| identityMap | back to summary |
|---|---|
| private final WeakValuedIdentityMap<IRubyObject, IRubyObject> identityMap | |
| valueMap | back to summary |
|---|---|
| private final WeakValuedMap<IRubyObject, IRubyObject> valueMap | |
| WeakMap | back to summary |
|---|---|
| public WeakMap(Ruby runtime, RubyClass cls) | |
| clear | back to summary |
|---|---|
| public IRubyObject clear(ThreadContext context) Implements abstract org.
| |
| createWeakMap | back to summary |
|---|---|
| pack-priv static void createWeakMap(ThreadContext context, RubyClass Object, RubyModule ObjectSpace) | |
| getEntryStream | back to summary |
|---|---|
| protected Stream Implements abstract org. | |
| getWeakMapFor | back to summary |
|---|---|
| protected Map Implements abstract org. | |
| inspect | back to summary |
|---|---|
| public IRubyObject inspect(ThreadContext context) Overrides default org. Implements abstract org. Doc from org. Returns a string containing a human-readable representation of
obj. If not overridden, uses the | |
| size | back to summary |
|---|---|
| public IRubyObject size(ThreadContext context) Implements abstract org. | |