public class RubyHash extends RubyObject implements java.util.Map
Modifier and Type | Class and Description |
---|---|
static class |
RubyHash.RubyHashEntry |
static class |
RubyHash.Visitor |
RubyObject.Data
RubyBasicObject.Finalizer
Modifier and Type | Field and Description |
---|---|
static long |
collisions |
static int |
DEFAULT_INSPECT_STR_SIZE |
static RubyHash.RubyHashEntry |
NO_ENTRY |
protected int |
size |
FIELD_ALLOCATED_CLASSES, FIELD_ALLOCATORS, IVAR_INSPECTING_OBJECT_ALLOCATOR, OBJECT_ALLOCATOR, OBJECT_VAR0_ALLOCATOR, OBJECT_VAR1_ALLOCATOR, OBJECT_VAR2_ALLOCATOR, OBJECT_VAR3_ALLOCATOR, OBJECT_VAR4_ALLOCATOR, OBJECT_VAR5_ALLOCATOR, OBJECT_VAR6_ALLOCATOR, OBJECT_VAR7_ALLOCATOR, OBJECT_VAR8_ALLOCATOR, OBJECT_VAR9_ALLOCATOR, REIFYING_OBJECT_ALLOCATOR
ALL_F, BASICOBJECT_ALLOCATOR, COMPARE_BY_IDENTITY_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, STAMP_OFFSET, TAINTED_F, UNDEF, UNTRUSTED_F, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F, USER8_F, VAR_TABLE_OFFSET, varTable, varTableStamp
NULL_ARRAY
Constructor and Description |
---|
RubyHash(Ruby runtime) |
RubyHash(Ruby runtime,
int buckets) |
RubyHash(Ruby runtime,
IRubyObject defaultValue) |
RubyHash(Ruby runtime,
IRubyObject defaultValue,
int buckets) |
RubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue) |
RubyHash(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
aref(IRubyObject key)
Deprecated.
use RubyHash.op_aref instead
|
IRubyObject |
aset(IRubyObject key,
IRubyObject value)
Deprecated.
use RubyHash.op_aset instead
|
IRubyObject |
assoc(ThreadContext context,
IRubyObject obj) |
void |
clear() |
RubyBoolean |
compare(ThreadContext context,
MethodNames method,
IRubyObject other) |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
RubyHash |
convertToHash()
Tries to convert this object to a Ruby Hash using the "to_hash"
method.
|
static IRubyObject |
create(ThreadContext context,
IRubyObject recv,
IRubyObject[] args,
Block block)
rb_hash_s_create
|
static RubyClass |
createHashClass(Ruby runtime) |
IRubyObject |
default_proc()
rb_hash_default_proc
|
IRubyObject |
default_value_get(ThreadContext context) |
IRubyObject |
default_value_get(ThreadContext context,
IRubyObject arg) |
IRubyObject |
default_value_get(ThreadContext context,
IRubyObject[] args)
Deprecated.
|
IRubyObject |
default_value_set(IRubyObject defaultValue)
rb_hash_set_default
|
IRubyObject |
delete_if(ThreadContext context,
Block block) |
RubyHash |
delete_ifInternal(ThreadContext context,
Block block)
rb_hash_delete_if
|
IRubyObject |
delete(ThreadContext context,
IRubyObject key,
Block block)
rb_hash_delete
|
java.util.Set |
directEntrySet() |
java.util.Set |
directKeySet() |
java.util.Collection |
directValues() |
IRubyObject |
dup(ThreadContext context) |
RubyHash |
dupFast(ThreadContext context)
A lightweight dup for internal use that does not dispatch to initialize_copy nor rehash the keys.
|
IRubyObject |
each_key(ThreadContext context,
Block block) |
RubyHash |
each_keyCommon(ThreadContext context,
Block block)
rb_hash_each_key
|
IRubyObject |
each_pair(ThreadContext context,
Block block) |
RubyHash |
each_pairCommon(ThreadContext context,
Block block,
boolean oneNine)
rb_hash_each_pair
|
IRubyObject |
each_value(ThreadContext context,
Block block) |
RubyHash |
each_valueCommon(ThreadContext context,
Block block)
rb_hash_each_value
|
IRubyObject |
each(ThreadContext context,
Block block) |
IRubyObject |
each19(ThreadContext context,
Block block) |
RubyHash |
eachCommon(ThreadContext context,
Block block)
rb_hash_each
|
RubyBoolean |
empty_p()
rb_hash_empty_p
|
java.util.Set |
entrySet() |
boolean |
equals(java.lang.Object other)
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.
|
IRubyObject |
fastARef(IRubyObject key) |
void |
fastASet(IRubyObject key,
IRubyObject value) |
RubyHash |
fastASetChained(IRubyObject key,
IRubyObject value) |
void |
fastASetCheckString(Ruby runtime,
IRubyObject key,
IRubyObject value) |
void |
fastASetCheckString19(Ruby runtime,
IRubyObject key,
IRubyObject value)
Deprecated.
|
void |
fastASetSmallCheckString(Ruby runtime,
IRubyObject key,
IRubyObject value) |
void |
fastASetSmallCheckString19(Ruby runtime,
IRubyObject key,
IRubyObject value)
Deprecated.
|
boolean |
fastDelete(IRubyObject key) |
IRubyObject |
fetch(ThreadContext context,
IRubyObject[] args,
Block block)
rb_hash_fetch
|
IRubyObject |
fetch(ThreadContext context,
IRubyObject key,
Block block) |
IRubyObject |
fetch(ThreadContext context,
IRubyObject key,
IRubyObject _default,
Block block) |
IRubyObject |
flatten(ThreadContext context) |
IRubyObject |
flatten(ThreadContext context,
IRubyObject level) |
java.lang.Object |
get(java.lang.Object key) |
IRubyObject |
getCompareByIdentity_p(ThreadContext context) |
IRubyObject |
getCompareByIdentity(ThreadContext context) |
IRubyObject |
getIfNone() |
java.lang.Class |
getJavaClass()
Will return the Java interface that most closely can represent
this object, when working through JAva integration
translations.
|
int |
getNativeTypeIndex()
This is overridden in the other concrete Java builtins to provide a fast way
to determine what type they are.
|
RubyBoolean |
has_key_p(IRubyObject key)
rb_hash_has_key
|
RubyBoolean |
has_value_p(ThreadContext context,
IRubyObject expected)
rb_hash_has_value
|
boolean |
hasDefaultProc() |
RubyFixnum |
hash()
rb_hash_hash
|
RubyFixnum |
hash19()
rb_hash_hash
|
protected static int |
hashValue(int h) |
IRubyObject |
index(ThreadContext context,
IRubyObject expected)
rb_hash_index
|
IRubyObject |
index19(ThreadContext context,
IRubyObject expected) |
RubyArray |
indices(ThreadContext context,
IRubyObject[] indices)
rb_hash_indexes
|
RubyHash |
initialize_copy(ThreadContext context,
IRubyObject other)
rb_hash_replace
|
RubyHash |
initialize_copy19(ThreadContext context,
IRubyObject other)
rb_hash_replace
|
IRubyObject |
initialize(IRubyObject[] args,
Block block)
rb_hash_initialize
|
IRubyObject |
inspect(ThreadContext context)
rb_hash_inspect
|
IRubyObject |
inspect19(ThreadContext context) |
protected RubyHash.RubyHashEntry |
internalDelete(IRubyObject key) |
protected RubyHash.RubyHashEntry |
internalDeleteEntry(RubyHash.RubyHashEntry entry) |
protected IRubyObject |
internalGet(IRubyObject key) |
protected RubyHash.RubyHashEntry |
internalGetEntry(IRubyObject key) |
protected void |
internalPut(IRubyObject key,
IRubyObject value,
boolean checkForExisting) |
protected void |
internalPutSmall(IRubyObject key,
IRubyObject value,
boolean checkForExisting) |
RubyHash |
invert(ThreadContext context)
rb_hash_invert
|
protected boolean |
isComparedByIdentity()
Is this object compared by identity or not? Shortcut for doing
getFlag(COMPARE_BY_IDENTITY_F).
|
boolean |
isEmpty() |
IRubyObject |
keep_if(ThreadContext context,
Block block) |
boolean |
keep_ifCommon(ThreadContext context,
Block block) |
IRubyObject |
key(ThreadContext context,
IRubyObject expected) |
RubyArray |
keys()
rb_hash_keys
|
java.util.Set |
keySet() |
static void |
marshalTo(RubyHash hash,
MarshalStream output) |
RubyHash |
merge_bang(ThreadContext context,
IRubyObject other,
Block block)
rb_hash_update
|
RubyHash |
merge_bang19(ThreadContext context,
IRubyObject other,
Block block)
rb_hash_update
|
RubyHash |
merge(ThreadContext context,
IRubyObject other,
Block block)
rb_hash_merge
|
void |
modify()
rb_hash_modify
|
static RubyHash |
newHash(Ruby runtime)
rb_hash_new
|
static RubyHash |
newHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue)
rb_hash_new
|
static RubyHash |
newSmallHash(Ruby runtime)
rb_hash_new
|
IRubyObject |
op_aref(ThreadContext context,
IRubyObject key)
rb_hash_aref
|
IRubyObject |
op_aset(IRubyObject key,
IRubyObject value)
Deprecated.
|
IRubyObject |
op_aset(ThreadContext context,
IRubyObject key,
IRubyObject value)
rb_hash_aset
|
IRubyObject |
op_aset19(ThreadContext context,
IRubyObject key,
IRubyObject value)
Deprecated.
|
protected void |
op_asetForString(Ruby runtime,
RubyString key,
IRubyObject value) |
protected void |
op_asetSmallForString(Ruby runtime,
RubyString key,
IRubyObject value) |
IRubyObject |
op_eql19(ThreadContext context,
IRubyObject other)
rb_hash_eql
|
IRubyObject |
op_equal(ThreadContext context,
IRubyObject other)
rb_hash_equal
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map map) |
IRubyObject |
rassoc(ThreadContext context,
IRubyObject obj) |
RubyHash |
rb_clear()
rb_hash_clear
|
RubyFixnum |
rb_size()
rb_hash_size
|
RubyArray |
rb_values()
rb_hash_values
|
IRubyObject |
rbClone(ThreadContext context) |
RubyHash |
rehash()
rb_hash_rehash
|
IRubyObject |
reject_bang(ThreadContext context,
Block block) |
IRubyObject |
reject_bangInternal(ThreadContext context,
Block block)
rb_hash_reject_bang
|
IRubyObject |
reject(ThreadContext context,
Block block) |
RubyHash |
rejectInternal(ThreadContext context,
Block block)
rb_hash_reject
|
java.lang.Object |
remove(java.lang.Object key) |
RubyHash |
replace(ThreadContext context,
IRubyObject other)
rb_hash_replace
|
RubyHash |
replace19(ThreadContext context,
IRubyObject other) |
IRubyObject |
select_bang(ThreadContext context,
Block block) |
IRubyObject |
select(ThreadContext context,
Block block)
rb_hash_select
|
IRubyObject |
select19(ThreadContext context,
Block block) |
IRubyObject |
set_default_proc(IRubyObject proc)
rb_hash_set_default_proc
|
IRubyObject |
set_default_proc20(IRubyObject proc) |
void |
setComparedByIdentity(boolean comparedByIdentity)
Sets whether this object is compared by identity or not.
|
IRubyObject |
shift(ThreadContext context)
rb_hash_shift
|
int |
size() |
IRubyObject |
sort(ThreadContext context,
Block block)
rb_hash_sort
|
RubyArray |
to_a()
rb_hash_to_a
|
RubyHash |
to_h(ThreadContext context) |
RubyHash |
to_hash()
rb_hash_to_hash
|
IRubyObject |
to_s(ThreadContext context)
rb_hash_to_s & to_s_hash
|
IRubyObject |
to_s19(ThreadContext context) |
static IRubyObject |
try_convert(ThreadContext context,
IRubyObject recv,
IRubyObject args) |
static RubyHash |
unmarshalFrom(UnmarshalStream input,
boolean defaultValue) |
RubyArray |
values_at(ThreadContext context,
IRubyObject[] args)
rb_hash_values_at
|
java.util.Collection |
values() |
void |
visitAll(RubyHash.Visitor visitor) |
attachToObjectSpace, callInit, callInit, callInit, callInit, callInit, callInit, callInit, callInit, callInit, callInit, convertToType, createObjectClass, eqlInternal, equalInternal, hashCode, initialize, initialize, inspect, op_eqq, puts, specificEval, toString
addFinalizer, anyToString, asJavaString, asString, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, checkArrayType, checkCallMethod, checkFrozen, checkStringType, checkStringType19, compareTo, convertToArray, convertToFloat, convertToInteger, convertToInteger, convertToInteger, convertToString, copyInstanceVariablesInto, copySpecialInstanceVariables, createBasicObjectClass, dataGetStruct, dataGetStructChecked, dataWrapStruct, display, dup, ensureInstanceVariablesSettable, eql_p, eql, equal_p, equal_p19, evalUnder, extend, fastGetInstanceVariable, fastGetInternalVariable, fastHasInstanceVariable, fastHasInternalVariable, fastSetInstanceVariable, fastSetInternalVariable, freeze, frozen_p, getFFIHandle, getFlag, getInstanceEvalClass, getInstanceVariable, getInstanceVariableList, getInstanceVariableNameList, getInstanceVariables, getInternalVariable, getInternalVariables, getMetaClass, getNativeHandle, getObjectId, getRuntime, getSingletonClass, getSingletonClassClone, getType, getVariable, getVariableCount, getVariableList, getVariableNameList, hashyInspect, hasInstanceVariable, hasInternalVariable, hasVariables, id_deprecated, id, infectBy, initialize_copy, initialize19, inspect, inspectHashCode, instance_eval, instance_eval, instance_eval, instance_eval, instance_eval19, instance_eval19, instance_eval19, instance_eval19, instance_exec, instance_exec19, instance_of_p, instance_variable_defined_p, instance_variable_get, instance_variable_set, instance_variables, instance_variables19, isBuiltin, isClass, isFalse, isFrozen, isImmediate, isModule, isNil, isTaint, isTrue, isUntrusted, kind_of_p, makeMetaClass, method_missing19, method, method19, methods, methods, methods19, nil_p, op_cmp, op_equal_19, op_match, op_match19, op_not_equal, op_not_match, op_not, private_methods, private_methods19, protected_methods, protected_methods19, public_methods, public_methods19, rbClone, remove_instance_variable, removeFinalizers, removeInstanceVariable, removeInternalVariable, respond_to_p, respond_to_p, respond_to_p19, respond_to_p19, respondsTo, respondsToMissing, respondsToMissing, send, send, send, send, send, send19, send19, send19, send19, setFFIHandle, setFlag, setFrozen, setInstanceVariable, setInternalVariable, setMetaClass, setNativeHandle, setTaint, setUntrusted, setVariable, singleton_method_added19, singleton_method_removed19, singleton_method_undefined19, singleton_methods, singleton_methods19, specificEval, specificEval, specificEval, specificEval, syncVariables, syncVariables, taint, taint, tainted_p, testFrozen, testFrozen, to_s, toJava, trust, type_deprecated, type, untaint, untrust, untrusted_p, validateInstanceVariable, variableTableContains, variableTableFastContains, variableTableFastFetch, variableTableFastStore, variableTableFetch, variableTableRemove, variableTableStore, variableTableSync, yieldUnder, yieldUnder
public static final int DEFAULT_INSPECT_STR_SIZE
protected int size
public static final RubyHash.RubyHashEntry NO_ENTRY
public static long collisions
public RubyHash(Ruby runtime, int buckets)
public RubyHash(Ruby runtime)
public RubyHash(Ruby runtime, IRubyObject defaultValue)
public RubyHash(Ruby runtime, IRubyObject defaultValue, int buckets)
public RubyHash(Ruby runtime, java.util.Map valueMap, IRubyObject defaultValue)
public int getNativeTypeIndex()
RubyObject
getNativeTypeIndex
in interface CoreObjectType
getNativeTypeIndex
in class RubyObject
ClassIndex
public static IRubyObject create(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block)
public static IRubyObject try_convert(ThreadContext context, IRubyObject recv, IRubyObject args)
public static final RubyHash newHash(Ruby runtime, java.util.Map valueMap, IRubyObject defaultValue)
protected static int hashValue(int h)
protected void internalPut(IRubyObject key, IRubyObject value, boolean checkForExisting)
protected void internalPutSmall(IRubyObject key, IRubyObject value, boolean checkForExisting)
protected IRubyObject internalGet(IRubyObject key)
protected RubyHash.RubyHashEntry internalGetEntry(IRubyObject key)
protected RubyHash.RubyHashEntry internalDelete(IRubyObject key)
protected RubyHash.RubyHashEntry internalDeleteEntry(RubyHash.RubyHashEntry entry)
public void visitAll(RubyHash.Visitor visitor)
public IRubyObject initialize(IRubyObject[] args, Block block)
@Deprecated public IRubyObject default_value_get(ThreadContext context, IRubyObject[] args)
public IRubyObject default_value_get(ThreadContext context)
public IRubyObject default_value_get(ThreadContext context, IRubyObject arg)
public IRubyObject default_value_set(IRubyObject defaultValue)
public IRubyObject default_proc()
public IRubyObject set_default_proc(IRubyObject proc)
public IRubyObject set_default_proc20(IRubyObject proc)
public void modify()
public IRubyObject inspect(ThreadContext context)
public IRubyObject inspect19(ThreadContext context)
public RubyFixnum rb_size()
public RubyBoolean empty_p()
public RubyArray to_a()
to_a
in class RubyBasicObject
public IRubyObject to_s(ThreadContext context)
public IRubyObject to_s19(ThreadContext context)
public RubyHash rehash()
public RubyHash to_hash()
public RubyHash to_h(ThreadContext context)
public RubyHash convertToHash()
RubyBasicObject
convertToHash
in interface IRubyObject
convertToHash
in class RubyBasicObject
public final void fastASet(IRubyObject key, IRubyObject value)
public final RubyHash fastASetChained(IRubyObject key, IRubyObject value)
public final void fastASetCheckString(Ruby runtime, IRubyObject key, IRubyObject value)
public final void fastASetSmallCheckString(Ruby runtime, IRubyObject key, IRubyObject value)
public IRubyObject op_aset(ThreadContext context, IRubyObject key, IRubyObject value)
protected void op_asetForString(Ruby runtime, RubyString key, IRubyObject value)
protected void op_asetSmallForString(Ruby runtime, RubyString key, IRubyObject value)
public final IRubyObject fastARef(IRubyObject key)
public RubyBoolean compare(ThreadContext context, MethodNames method, IRubyObject other)
public IRubyObject op_equal(ThreadContext context, IRubyObject other)
op_equal
in interface IRubyObject
op_equal
in class RubyBasicObject
public IRubyObject op_eql19(ThreadContext context, IRubyObject other)
public IRubyObject op_aref(ThreadContext context, IRubyObject key)
public RubyFixnum hash()
hash
in class RubyBasicObject
public RubyFixnum hash19()
public IRubyObject fetch(ThreadContext context, IRubyObject[] args, Block block)
public IRubyObject fetch(ThreadContext context, IRubyObject key, Block block)
public IRubyObject fetch(ThreadContext context, IRubyObject key, IRubyObject _default, Block block)
public RubyBoolean has_key_p(IRubyObject key)
public RubyBoolean has_value_p(ThreadContext context, IRubyObject expected)
public RubyHash eachCommon(ThreadContext context, Block block)
public IRubyObject each(ThreadContext context, Block block)
public IRubyObject each19(ThreadContext context, Block block)
public RubyHash each_pairCommon(ThreadContext context, Block block, boolean oneNine)
public IRubyObject each_pair(ThreadContext context, Block block)
public RubyHash each_valueCommon(ThreadContext context, Block block)
public IRubyObject each_value(ThreadContext context, Block block)
public RubyHash each_keyCommon(ThreadContext context, Block block)
public IRubyObject each_key(ThreadContext context, Block block)
public IRubyObject select_bang(ThreadContext context, Block block)
public IRubyObject keep_if(ThreadContext context, Block block)
public boolean keep_ifCommon(ThreadContext context, Block block)
public IRubyObject sort(ThreadContext context, Block block)
public IRubyObject index(ThreadContext context, IRubyObject expected)
public IRubyObject index19(ThreadContext context, IRubyObject expected)
public IRubyObject key(ThreadContext context, IRubyObject expected)
public RubyArray indices(ThreadContext context, IRubyObject[] indices)
public RubyArray keys()
public RubyArray rb_values()
public IRubyObject shift(ThreadContext context)
public final boolean fastDelete(IRubyObject key)
public IRubyObject delete(ThreadContext context, IRubyObject key, Block block)
public IRubyObject select(ThreadContext context, Block block)
public IRubyObject select19(ThreadContext context, Block block)
public RubyHash delete_ifInternal(ThreadContext context, Block block)
public IRubyObject delete_if(ThreadContext context, Block block)
public RubyHash rejectInternal(ThreadContext context, Block block)
public IRubyObject reject(ThreadContext context, Block block)
public IRubyObject reject_bangInternal(ThreadContext context, Block block)
public IRubyObject reject_bang(ThreadContext context, Block block)
public RubyHash rb_clear()
public RubyHash invert(ThreadContext context)
public RubyHash merge_bang(ThreadContext context, IRubyObject other, Block block)
public RubyHash merge_bang19(ThreadContext context, IRubyObject other, Block block)
public RubyHash merge(ThreadContext context, IRubyObject other, Block block)
public RubyHash initialize_copy(ThreadContext context, IRubyObject other)
public RubyHash initialize_copy19(ThreadContext context, IRubyObject other)
public RubyHash replace(ThreadContext context, IRubyObject other)
public RubyHash replace19(ThreadContext context, IRubyObject other)
public RubyArray values_at(ThreadContext context, IRubyObject[] args)
public IRubyObject assoc(ThreadContext context, IRubyObject obj)
public IRubyObject rassoc(ThreadContext context, IRubyObject obj)
public IRubyObject flatten(ThreadContext context)
public IRubyObject flatten(ThreadContext context, IRubyObject level)
public IRubyObject getCompareByIdentity(ThreadContext context)
public IRubyObject getCompareByIdentity_p(ThreadContext context)
public IRubyObject dup(ThreadContext context)
public IRubyObject rbClone(ThreadContext context)
public RubyHash dupFast(ThreadContext context)
context
- public boolean hasDefaultProc()
public IRubyObject getIfNone()
public static void marshalTo(RubyHash hash, MarshalStream output) throws java.io.IOException
java.io.IOException
public static RubyHash unmarshalFrom(UnmarshalStream input, boolean defaultValue) throws java.io.IOException
java.io.IOException
public java.lang.Class getJavaClass()
RubyBasicObject
getJavaClass
in interface IRubyObject
getJavaClass
in class RubyBasicObject
public int size()
size
in interface java.util.Map
public boolean isEmpty()
isEmpty
in interface java.util.Map
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
public void clear()
clear
in interface java.util.Map
public boolean equals(java.lang.Object other)
RubyObject
equals
in interface java.util.Map
equals
in class RubyObject
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.util.Set directKeySet()
public java.util.Collection values()
values
in interface java.util.Map
public java.util.Collection directValues()
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public java.util.Set directEntrySet()
protected boolean isComparedByIdentity()
public void setComparedByIdentity(boolean comparedByIdentity)
comparedByIdentity
- should this object be compared by identity?@Deprecated public IRubyObject op_aset19(ThreadContext context, IRubyObject key, IRubyObject value)
public IRubyObject aset(IRubyObject key, IRubyObject value)
public IRubyObject aref(IRubyObject key)
@Deprecated public final void fastASetCheckString19(Ruby runtime, IRubyObject key, IRubyObject value)
@Deprecated public final void fastASetSmallCheckString19(Ruby runtime, IRubyObject key, IRubyObject value)
@Deprecated public IRubyObject op_aset(IRubyObject key, IRubyObject value)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.