|
||||||||||
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.RubyHash
org.jruby.RubyGlobal.StringOnlyRubyHash
public static class RubyGlobal.StringOnlyRubyHash
Obligate string-keyed and string-valued hash, used for ENV and ENV_JAVA
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jruby.RubyHash |
---|
RubyHash.Visitor |
Nested classes/interfaces inherited from class org.jruby.RubyObject |
---|
RubyObject.ObjectMethods |
Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
---|
RubyBasicObject.BasicObjectMethods, RubyBasicObject.Finalizer, RubyBasicObject.VariableTableEntry |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from class org.jruby.RubyHash |
---|
collisions |
Fields inherited from class org.jruby.RubyObject |
---|
OBJECT_ALLOCATOR |
Fields inherited from class org.jruby.RubyBasicObject |
---|
ALL_F, dataStruct, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, TAINTED_F, UNDEF, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F, VARIABLE_TABLE_DEFAULT_CAPACITY, VARIABLE_TABLE_EMPTY_TABLE, VARIABLE_TABLE_LOAD_FACTOR, VARIABLE_TABLE_MAXIMUM_CAPACITY, variableTable, variableTableSize, variableTableThreshold |
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
---|
NULL_ARRAY |
Constructor Summary | |
---|---|
RubyGlobal.StringOnlyRubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue)
|
Method Summary | |
---|---|
IRubyObject |
op_aref(ThreadContext context,
IRubyObject key)
rb_hash_aref |
IRubyObject |
op_aset(ThreadContext context,
IRubyObject key,
IRubyObject value)
rb_hash_aset |
RubyHash |
to_hash()
rb_hash_to_hash |
IRubyObject |
to_s()
rb_any_to_s call-seq: obj.to_s => string Returns a string representing obj. |
Methods inherited from class org.jruby.RubyHash |
---|
aref, aset, assoc, clear, containsKey, containsValue, convertToHash, create, createHashClass, default_proc, default_value_get, default_value_get, default_value_get, default_value_set, delete_if, delete_if19, delete, directEntrySet, directKeySet, directValues, each_key, each_key19, each_pair, each_pair19, each_value, each_value19, each, each19, empty_p, entrySet, equals, fastARef, fastASet, fastDelete, fetch, flatten, flatten, get, getIfNone, getJavaClass, getNativeTypeIndex, has_key_p, has_value_p, hasDefaultProc, hash19, index, index19, indices, initialize_copy, initialize, inspect, invert, isEmpty, key, keys, keySet, marshalTo, merge_bang, merge, modify, newHash, newHash, op_aset, op_eql19, op_equal, op_equal19, put, putAll, rassoc, rb_clear, rb_size, rb_values, rehash, reject_bang, reject, reject19, remove, replace, select, select19, shift, size, sort, to_a, to_s, to_s19, try_convert, unmarshalFrom, values_at, values, visitAll |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
hashCode |
Constructor Detail |
---|
public RubyGlobal.StringOnlyRubyHash(Ruby runtime, java.util.Map valueMap, IRubyObject defaultValue)
Method Detail |
---|
public RubyHash to_hash()
RubyHash
to_hash
in class RubyHash
public IRubyObject op_aref(ThreadContext context, IRubyObject key)
RubyHash
op_aref
in class RubyHash
public IRubyObject op_aset(ThreadContext context, IRubyObject key, IRubyObject value)
RubyHash
op_aset
in class RubyHash
public IRubyObject to_s()
RubyObject
to_s
prints the object's class and an encoding of the
object id. As a special case, the top-level object that is the
initial execution context of Ruby programs returns ``main.''
to_s
in class RubyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |