Methods 
| Modifier and Type | 
Method and Description | 
IRubyObject | 
any_p(ThreadContext context,
     Block block)  | 
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)  | 
protected void | 
checkIterating()  | 
void | 
clear()  | 
RubyBoolean | 
compare(ThreadContext context,
       MethodNames method,
       IRubyObject other)  | 
boolean | 
containsKey(Object key)  | 
boolean | 
containsValue(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 
 | 
Set | 
directEntrySet()  | 
Set | 
directKeySet()  | 
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)
Deprecated.  
 | 
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 
 | 
Set | 
entrySet()  | 
boolean | 
equals(Object other)
This override does not do a "checked" dispatch. 
 | 
IRubyObject | 
fastARef(IRubyObject key)  | 
void | 
fastASet(IRubyObject key,
        IRubyObject value)  | 
void | 
fastASet(Ruby runtime,
        IRubyObject key,
        IRubyObject value,
        boolean prepareString)  | 
void | 
fastASetCheckString(Ruby runtime,
                   IRubyObject key,
                   IRubyObject value)  | 
void | 
fastASetCheckString19(Ruby runtime,
                     IRubyObject key,
                     IRubyObject value)
Deprecated.  
 | 
void | 
fastASetSmall(IRubyObject key,
             IRubyObject value)  | 
void | 
fastASetSmall(Ruby runtime,
             IRubyObject key,
             IRubyObject value,
             boolean prepareString)  | 
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)  | 
Object | 
get(Object key)  | 
IRubyObject | 
getCompareByIdentity_p(ThreadContext context)  | 
IRubyObject | 
getCompareByIdentity(ThreadContext context)  | 
IRubyObject | 
getIfNone()  | 
Class | 
getJavaClass()
Will return the Java interface that most closely can represent
 this object, when working through JAva integration
 translations. 
 | 
ClassIndex | 
getNativeClassIndex()
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)  | 
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 
 | 
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,
       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 
 | 
Object | 
put(Object key,
   Object value)  | 
void | 
putAll(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 
 | 
Object | 
remove(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)
Deprecated.  
 | 
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 
 | 
Collection | 
values()  | 
void | 
visitAll(RubyHash.Visitor visitor)  |