Logo Search packages:      
Sourcecode: jruby1.0 version File versions

org::jruby::RubyGlobal::StringOnlyRubyHash Class Reference

Inheritance diagram for org::jruby::RubyGlobal::StringOnlyRubyHash:

org::jruby::RubyHash org::jruby::RubyObject org::jruby::runtime::builtin::IRubyObject

List of all members.


Detailed Description

Obligate string-keyed and string-valued hash, used for ENV and ENV_JAVA

Definition at line 62 of file RubyGlobal.java.


Public Member Functions

void addFinalizer (RubyProc finalizer)
IRubyObject anyToString ()
IRubyObject aref (IRubyObject key)
IRubyObject aset (IRubyObject key, IRubyObject value)
RubyString asString ()
String asSymbol ()
void attachToObjectSpace ()
void callInit (IRubyObject[] args, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject arg)
IRubyObject callMethod (ThreadContext context, String name, Block block)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name)
IRubyObject callMethod (ThreadContext context, String name)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject[] args)
IRubyObject callMethod (ThreadContext context, int methodIndex, String name, IRubyObject arg)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, CallType callType)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args, Block block)
IRubyObject callMethod (ThreadContext context, String name, IRubyObject[] args)
IRubyObject callMethod (ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)
IRubyObject callSuper (ThreadContext context, IRubyObject[] args, Block block)
IRubyObject checkArrayType ()
IRubyObject checkStringType ()
void clear ()
IRubyObject compilerCallMethod (ThreadContext context, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
IRubyObject compilerCallMethodWithIndex (ThreadContext context, int methodIndex, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
boolean containsKey (Object key)
boolean containsValue (Object value)
RubyArray convertToArray ()
RubyFloat convertToFloat ()
RubyHash convertToHash ()
RubyInteger convertToInteger ()
RubyString convertToString ()
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raiseOnMissingMethod, boolean raiseOnWrongTypeResult, boolean allowNilThrough)
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, boolean raise)
IRubyObject convertToType (RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raise)
IRubyObject convertToTypeWithCheck (RubyClass targetType, int convertMethodIndex, String convertMethod)
synchronized Object dataGetStruct ()
synchronized void dataWrapStruct (Object obj)
IRubyObject default_proc (Block unusedBlock)
IRubyObject default_value_get (IRubyObject[] args, Block unusedBlock)
IRubyObject default_value_set (final IRubyObject defaultValue)
IRubyObject delete (IRubyObject key, Block block)
RubyHash delete_if (Block block)
Set directEntrySet ()
Set directKeySet ()
Collection directValues ()
IRubyObject display (IRubyObject[] args)
IRubyObject dup ()
RubyHash each (Block block)
RubyHash each_key (Block block)
RubyHash each_pair (Block block)
RubyHash each_value (Block block)
RubyBoolean empty_p ()
Set entrySet ()
boolean eql (IRubyObject other)
final boolean eqlInternal (final ThreadContext context, final IRubyObject other)
IRubyObject equal (IRubyObject other)
final IRubyObject equalInternal (final ThreadContext context, final IRubyObject other)
boolean equals (Object other)
IRubyObject evalSimple (ThreadContext context, IRubyObject src, String file)
IRubyObject evalUnder (RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)
IRubyObject evalWithBinding (ThreadContext context, IRubyObject src, IRubyObject scope, String file)
IRubyObject extend (IRubyObject[] args)
final IRubyObject fastARef (IRubyObject key)
final void fastASet (IRubyObject key, IRubyObject value)
IRubyObject fetch (IRubyObject[] args, Block block)
final void forEach (final Callback callback)
IRubyObject freeze ()
RubyBoolean frozen ()
Object get (Object key)
IRubyObject getIfNone ()
IRubyObject getInstanceVariable (String name)
Map getInstanceVariables ()
Map getInstanceVariablesSnapshot ()
Class getJavaClass ()
final RubyClass getMetaClass ()
int getNativeTypeIndex ()
Ruby getRuntime ()
RubyClass getSingletonClass ()
RubyClass getSingletonClassClone ()
RubyClass getType ()
RubyBoolean has_key (IRubyObject key)
RubyBoolean has_value (IRubyObject value)
boolean hasDefaultProc ()
RubyFixnum hash ()
int hashCode ()
synchronized RubyFixnum id ()
synchronized RubyFixnum id_deprecated ()
IRubyObject index (IRubyObject value)
RubyArray indices (IRubyObject[] indices)
IRubyObject infectBy (IRubyObject obj)
IRubyObject inherited (IRubyObject arg, Block block)
IRubyObject initialize (IRubyObject[] args, Block block)
IRubyObject initialize (IRubyObject[] args, final Block block)
IRubyObject initialize_copy (IRubyObject original)
IRubyObject inspect ()
IRubyObject instance_eval (IRubyObject[] args, Block block)
IRubyObject instance_exec (IRubyObject[] args, Block block)
RubyBoolean instance_of (IRubyObject type)
IRubyObject instance_variable_get (IRubyObject var)
IRubyObject instance_variable_set (IRubyObject var, IRubyObject value)
RubyArray instance_variables ()
Iterator instanceVariableNames ()
RubyHash invert ()
boolean isEmpty ()
final boolean isFalse ()
boolean isFrozen ()
boolean isImmediate ()
boolean isKindOf (RubyModule type)
boolean isNil ()
boolean isSingleton ()
boolean isTaint ()
final boolean isTrue ()
RubyArray keys ()
Set keySet ()
RubyBoolean kind_of (IRubyObject type)
RubyClass makeMetaClass (RubyClass superClass, SinglyLinkedList parentCRef)
IRubyObject match (IRubyObject arg)
RubyHash merge (IRubyObject other, Block block)
IRubyObject method (IRubyObject symbol)
IRubyObject method_missing (IRubyObject[] args, Block block)
IRubyObject methods (IRubyObject[] args)
void modify ()
IRubyObject nil_p ()
IRubyObject obj_equal (IRubyObject obj)
IRubyObject private_methods ()
IRubyObject protected_methods ()
IRubyObject public_methods (IRubyObject[] args)
Object put (Object key, Object value)
void putAll (Map map)
RubyHash rb_clear ()
RubyFixnum rb_size ()
RubyArray rb_values ()
IRubyObject rbClone (Block unusedBlock)
RubyHash rehash ()
RubyHash reject (Block block)
IRubyObject reject_bang (Block block)
Object remove (Object key)
IRubyObject remove_instance_variable (IRubyObject name, Block block)
void removeFinalizers ()
IRubyObject removeInstanceVariable (String name)
RubyHash replace (IRubyObject other)
RubyBoolean respond_to (IRubyObject[] args)
boolean respondsTo (String name)
Map safeGetInstanceVariables ()
boolean safeHasInstanceVariables ()
IRubyObject select (IRubyObject[] args, Block block)
IRubyObject send (IRubyObject[] args, Block block)
void setFrozen (boolean frozen)
IRubyObject setInstanceVariable (String name, IRubyObject value)
IRubyObject setInstanceVariable (String name, IRubyObject value, String taintError, String freezeError)
void setInstanceVariables (Map instanceVariables)
void setMetaClass (RubyClass metaClass)
void setTaint (boolean taint)
IRubyObject shift ()
RubyArray singleton_methods (IRubyObject[] args)
int size ()
RubyArray sort (Block block)
IRubyObject specificEval (RubyModule mod, IRubyObject[] args, Block block)
 StringOnlyRubyHash (Ruby runtime, Map valueMap, IRubyObject defaultValue)
IRubyObject taint ()
RubyBoolean tainted ()
RubyArray to_a ()
RubyHash to_hash ()
IRubyObject to_s ()
String toString ()
RubyClass type ()
RubyClass type_deprecated ()
IRubyObject untaint ()
RubyHash update (IRubyObject other, Block block)
Collection values ()
RubyArray values_at (IRubyObject[] args)

Static Public Member Functions

static IRubyObject callMethodMissingIfNecessary (ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)
static IRubyObject create (IRubyObject recv, IRubyObject[] args, Block block)
static RubyClass createHashClass (Ruby runtime)
static RubyClass createObjectClass (Ruby runtime, RubyClass objectClass)
static void initCopy (IRubyObject clone, IRubyObject original)
static void marshalTo (RubyHash hash, MarshalStream output) throws IOException
static final RubyHash newHash (Ruby runtime, Map valueMap, IRubyObject defaultValue)
static final RubyHash newHash (Ruby runtime)
static void puts (Object obj)
static String trueFalseNil (String v)
static String trueFalseNil (IRubyObject v)
static RubyHash unmarshalFrom (UnmarshalStream input, boolean defaultValue) throws IOException

Static Public Attributes

static final byte AREF_SWITCHVALUE = 1
static final byte ASET_SWITCHVALUE = 2
static long collisions = 0
static final byte EMPTY_P_SWITCHVALUE = 5
static final byte EQL_P_SWITCHVALUE = 11
static final byte EQUALEQUAL_SWITCHVALUE = 4
static final byte HASH_SWITCHVALUE = 8
static final byte LENGTH_SWITCHVALUE = 9
static final IRubyObject NEVER = new RubyObject()
static final byte NIL_P_SWITCHVALUE = 3
static final IRubyObject[] NULL_ARRAY = new IRubyObject[0]
static ObjectAllocator OBJECT_ALLOCATOR
static final int ST_CHECK = 3
static final int ST_CONTINUE = 0
static final int ST_DELETE = 2
static final int ST_STOP = 1
static final byte TO_A_SWITCHVALUE = 7
static final byte TO_HASH_SWITCHVALUE = 10
static final byte TO_S_SWITCHVALUE = 6

Protected Member Functions

void checkFrozen ()
IRubyObject doClone ()
void testFrozen (String message)

Protected Attributes

Map instanceVariables
boolean isTrue = true
RubyClass metaClass

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index