|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jruby.BasicObjectStub.DummyInstanceVariables
public static class BasicObjectStub.DummyInstanceVariables
| Constructor Summary | |
|---|---|
BasicObjectStub.DummyInstanceVariables(IRubyObject nil)
|
|
| Method Summary | |
|---|---|
void |
copyInstanceVariablesInto(InstanceVariables other)
Copies all instance variables from the given object into the receiver |
IRubyObject |
fastGetInstanceVariable(java.lang.String internedName)
Returns the named instance variable if present, else null. |
boolean |
fastHasInstanceVariable(java.lang.String internedName)
Returns true if object has the named instance variable. |
IRubyObject |
fastSetInstanceVariable(java.lang.String internedName,
IRubyObject value)
Sets the named instance variable to the specified value. |
IRubyObject |
getInstanceVariable(java.lang.String name)
Returns the named instance variable if present, else null. |
java.util.List<Variable<IRubyObject>> |
getInstanceVariableList()
|
java.util.List<java.lang.String> |
getInstanceVariableNameList()
|
boolean |
hasInstanceVariable(java.lang.String name)
Returns true if object has the named instance variable. |
IRubyObject |
removeInstanceVariable(java.lang.String name)
Removes the named instance variable, if present, returning its value. |
IRubyObject |
setInstanceVariable(java.lang.String name,
IRubyObject value)
Sets the named instance variable to the specified value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicObjectStub.DummyInstanceVariables(IRubyObject nil)
| Method Detail |
|---|
public boolean hasInstanceVariable(java.lang.String name)
InstanceVariables
hasInstanceVariable in interface InstanceVariablesname - the name of an instance variable
public boolean fastHasInstanceVariable(java.lang.String internedName)
InstanceVariables
fastHasInstanceVariable in interface InstanceVariablesinternedName - the interned name of an instance variable
public IRubyObject getInstanceVariable(java.lang.String name)
InstanceVariables
getInstanceVariable in interface InstanceVariablesname - the name of an instance variable
public IRubyObject fastGetInstanceVariable(java.lang.String internedName)
InstanceVariables
fastGetInstanceVariable in interface InstanceVariablesinternedName - the interned name of an instance variable
public IRubyObject setInstanceVariable(java.lang.String name,
IRubyObject value)
InstanceVariables
setInstanceVariable in interface InstanceVariablesname - the name of an instance variablevalue - the value to be set
public IRubyObject fastSetInstanceVariable(java.lang.String internedName,
IRubyObject value)
InstanceVariables
fastSetInstanceVariable in interface InstanceVariablesinternedName - the interned name of an instance variablevalue - the value to be setpublic IRubyObject removeInstanceVariable(java.lang.String name)
InstanceVariables
removeInstanceVariable in interface InstanceVariablesname - the name of the variable to remove
public java.util.List<Variable<IRubyObject>> getInstanceVariableList()
getInstanceVariableList in interface InstanceVariablespublic java.util.List<java.lang.String> getInstanceVariableNameList()
getInstanceVariableNameList in interface InstanceVariablespublic void copyInstanceVariablesInto(InstanceVariables other)
InstanceVariables
copyInstanceVariablesInto in interface InstanceVariables
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||